1 diff -ru libtool/libltdl/config/ltmain.m4sh libtool-fixed/libltdl/config/ltmain.m4sh
2 --- libtool/libltdl/config/ltmain.m4sh 2011-10-17 12:17:05.000000000 +0200
3 +++ libtool-fixed/libltdl/config/ltmain.m4sh.new 2015-09-30 22:03:22.000000000 +0200
8 - # Don't allow lazy linking, it breaks C++ global constructors
9 - # But is supposedly fixed on 10.4 or later (yay!).
10 - if test "$tagname" = CXX ; then
11 - case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
13 - func_append compile_command " ${wl}-bind_at_load"
14 - func_append finalize_command " ${wl}-bind_at_load"
18 # Time to change all our "foo.ltframework" stuff back to "-framework foo"
19 compile_deplibs=`$ECHO " $compile_deplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
20 finalize_deplibs=`$ECHO " $finalize_deplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
21 diff -ru libtool/libltdl/config/ltmain.sh libtool-fixed/libltdl/config/ltmain.sh
22 --- libtool/libltdl/config/ltmain.sh 2011-10-17 12:19:35.000000000 +0200
23 +++ libtool-fixed/libltdl/config/ltmain.sh.new 2015-09-30 22:03:44.000000000 +0200
24 @@ -8715,16 +8715,6 @@
28 - # Don't allow lazy linking, it breaks C++ global constructors
29 - # But is supposedly fixed on 10.4 or later (yay!).
30 - if test "$tagname" = CXX ; then
31 - case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
33 - func_append compile_command " ${wl}-bind_at_load"
34 - func_append finalize_command " ${wl}-bind_at_load"
38 # Time to change all our "foo.ltframework" stuff back to "-framework foo"
39 compile_deplibs=`$ECHO " $compile_deplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
40 finalize_deplibs=`$ECHO " $finalize_deplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`