Fix Travis build on macOS (#731)
This commit is contained in:
parent
12757b6929
commit
2ec7dd1f6c
|
@ -55,7 +55,7 @@ matrix:
|
||||||
- ./autogen.sh
|
- ./autogen.sh
|
||||||
- ./configure $CONFIGURE_OPTS --with-coretext
|
- ./configure $CONFIGURE_OPTS --with-coretext
|
||||||
- make
|
- make
|
||||||
- make check || (cat `find -name '*.log'` && false)
|
- make check || (cat `find . -name '*.log'` && false)
|
||||||
|
|
||||||
notifications:
|
notifications:
|
||||||
irc: "irc.freenode.org#harfbuzz"
|
irc: "irc.freenode.org#harfbuzz"
|
||||||
|
|
|
@ -27,11 +27,11 @@ for def in $defs; do
|
||||||
so=$libs/lib${lib}.$suffix
|
so=$libs/lib${lib}.$suffix
|
||||||
if ! test -f "$so"; then continue; fi
|
if ! test -f "$so"; then continue; fi
|
||||||
|
|
||||||
EXPORTED_SYMBOLS="`nm "$so" | grep ' [BCDGINRSTVW] .' | grep -v ' _fini\>\| _init\>\| _fdata\>\| _ftext\>\| _fbss\>\| __bss_start\>\| __bss_start__\>\| __bss_end__\>\| _edata\>\| _end\>\| _bss_end__\>\| __end__\>\| __gcov_flush\>\| llvm_' | cut -d' ' -f3`"
|
|
||||||
|
|
||||||
# On mac, C symbols are prefixed with _
|
# On mac, C symbols are prefixed with _
|
||||||
if test $suffix = dylib; then prefix="_"; fi
|
if test $suffix = dylib; then prefix="_"; fi
|
||||||
|
|
||||||
|
EXPORTED_SYMBOLS="`nm "$so" | grep ' [BCDGINRSTVW] .' | grep -v " $prefix"'\(_fini\>\|_init\>\|_fdata\>\|_ftext\>\|_fbss\>\|__bss_start\>\|__bss_start__\>\|__bss_end__\>\|_edata\>\|_end\>\|_bss_end__\>\|__end__\>\|__gcov_flush\>\|llvm_\)' | cut -d' ' -f3`"
|
||||||
|
|
||||||
if test -f "$so"; then
|
if test -f "$so"; then
|
||||||
|
|
||||||
echo "Checking that $so has the same symbol list as $def"
|
echo "Checking that $so has the same symbol list as $def"
|
||||||
|
|
Loading…
Reference in New Issue