Skip to content

Commit 1506d9d

Browse files
committed
merge bitcoin#29072: use -no_exported_symbols on macOS
1 parent 9247960 commit 1506d9d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

configure.ac

+1
Original file line numberDiff line numberDiff line change
@@ -1520,6 +1520,7 @@ if test x$use_reduce_exports = xyes; then
15201520
AX_CHECK_COMPILE_FLAG([-fvisibility=hidden],[CXXFLAGS="$CXXFLAGS -fvisibility=hidden"],
15211521
[AC_MSG_ERROR([Cannot set hidden symbol visibility. Use --disable-reduce-exports.])],[[$CXXFLAG_WERROR]])
15221522
AX_CHECK_LINK_FLAG([[-Wl,--exclude-libs,ALL]],[RELDFLAGS="-Wl,--exclude-libs,ALL"],,[[$LDFLAG_WERROR]])
1523+
AX_CHECK_LINK_FLAG([-Wl,-no_exported_symbols], [LIBTOOL_APP_LDFLAGS="$LIBTOOL_APP_LDFLAGS -Wl,-no_exported_symbols"], [], [$LDFLAG_WERROR])
15231524
fi
15241525

15251526
if test x$use_tests = xyes; then

0 commit comments

Comments
 (0)