Skip to content

Commit 3c61c60

Browse files
theunifanquake
authored andcommitted
build: Add an old hack to remove bind_at_load from libtool.
Similar to a98356f.
1 parent 4525760 commit 3c61c60

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

configure.ac

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1969,6 +1969,17 @@ case ${OS} in
19691969
;;
19701970
esac
19711971

1972+
dnl An old hack similar to a98356fee to remove hard-coded
1973+
dnl bind_at_load flag from libtool
1974+
case $host in
1975+
*darwin*)
1976+
AC_MSG_RESULT([Removing -Wl,bind_at_load from libtool.])
1977+
sed < libtool > libtool-2 '/bind_at_load/d'
1978+
mv libtool-2 libtool
1979+
chmod 755 libtool
1980+
;;
1981+
esac
1982+
19721983
echo
19731984
echo "Options used to compile and link:"
19741985
echo " external signer = $use_external_signer"

0 commit comments

Comments
 (0)