Commit 7507d0cf authored by Felix Paul Kühne's avatar Felix Paul Kühne

extras/tools/libtool: remove crude hack for legacy OS X platforms

parent de879a7c
diff -ru libtool/libltdl/config/ltmain.m4sh libtool-fixed/libltdl/config/ltmain.m4sh
--- libtool/libltdl/config/ltmain.m4sh 2011-10-17 12:17:05.000000000 +0200
+++ libtool-fixed/libltdl/config/ltmain.m4sh 2015-09-30 22:03:22.000000000 +0200
@@ -7928,16 +7928,6 @@
case $host in
*-*-darwin*)
- # Don't allow lazy linking, it breaks C++ global constructors
- # But is supposedly fixed on 10.4 or later (yay!).
- if test "$tagname" = CXX ; then
- case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
- 10.[0123])
- func_append compile_command " ${wl}-bind_at_load"
- func_append finalize_command " ${wl}-bind_at_load"
- ;;
- esac
- fi
# Time to change all our "foo.ltframework" stuff back to "-framework foo"
compile_deplibs=`$ECHO " $compile_deplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
finalize_deplibs=`$ECHO " $finalize_deplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
diff -ru libtool/libltdl/config/ltmain.sh libtool-fixed/libltdl/config/ltmain.sh
--- libtool/libltdl/config/ltmain.sh 2011-10-17 12:19:35.000000000 +0200
+++ libtool-fixed/libltdl/config/ltmain.sh 2015-09-30 22:03:44.000000000 +0200
@@ -8715,16 +8715,6 @@
case $host in
*-*-darwin*)
- # Don't allow lazy linking, it breaks C++ global constructors
- # But is supposedly fixed on 10.4 or later (yay!).
- if test "$tagname" = CXX ; then
- case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
- 10.[0123])
- func_append compile_command " ${wl}-bind_at_load"
- func_append finalize_command " ${wl}-bind_at_load"
- ;;
- esac
- fi
# Time to change all our "foo.ltframework" stuff back to "-framework foo"
compile_deplibs=`$ECHO " $compile_deplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
finalize_deplibs=`$ECHO " $finalize_deplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
...@@ -82,6 +82,7 @@ libtool-$(LIBTOOL_VERSION).tar.gz: ...@@ -82,6 +82,7 @@ libtool-$(LIBTOOL_VERSION).tar.gz:
libtool: libtool-$(LIBTOOL_VERSION).tar.gz libtool: libtool-$(LIBTOOL_VERSION).tar.gz
$(UNPACK) $(UNPACK)
$(APPLY) libtool-2.4.2-bitcode.patch
$(MOVE) $(MOVE)
.libtool: libtool .automake .libtool: libtool .automake
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment