Skip to content

Commit a16bff2

Browse files
committed
avoid abicheck failure
x
1 parent b391c27 commit a16bff2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/abicheck.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#! /bin/sh
22

3-
cpp -P ${cppargs} ${1:-./src/libmongoc.symbols} | sed -e '/^$/d' -e 's/ G_GNUC.*$//' -e 's/ PRIVATE//' -e 's/ DATA//' | sort > expected-abi
3+
cpp --freestanding -P ${cppargs} ${1:-./src/libmongoc.symbols} | sed -e '/^$/d' -e 's/ G_GNUC.*$//' -e 's/ PRIVATE//' -e 's/ DATA//' | sort > expected-abi
44

55
nm -D -g --defined-only .libs/libmongoc-1.0.so | cut -d ' ' -f 3 | egrep -v '^(__bss_start|_edata|_end)' | sort > actual-abi
66
diff -u expected-abi actual-abi && rm -f expected-abi actual-abi

0 commit comments

Comments
 (0)