Skip to content

Commit

Permalink
Build: Add an old hack similar to remove bind_at_load from libtool.
Browse files Browse the repository at this point in the history
Similar to a98356f.
  • Loading branch information
theuni committed Nov 3, 2023
1 parent d9007f5 commit c61c9c5
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -1970,6 +1970,17 @@ case ${OS} in
;;
esac

dnl An old hack similar to a98356fee to remove hard-coded
dnl bind_at_load flag from libtool
case $host in
*darwin*)
AC_MSG_RESULT([Removing -Wl,bind_at_load from libtool.])
sed < libtool > libtool-2 '/bind_at_load/d'
mv libtool-2 libtool
chmod 755 libtool
;;
esac

echo
echo "Options used to compile and link:"
echo " external signer = $use_external_signer"
Expand Down

0 comments on commit c61c9c5

Please sign in to comment.