mirror of
git://git.savannah.gnu.org/libtool.git
synced 2025-01-12 14:06:37 +08:00
* m4/libtool.m4 (AC_PROG_LD_RELOAD_FLAG): On darwin change the
reload_cmds to use $CC, otherwise ld will thin out any fat objects.
This commit is contained in:
parent
de50d5cf48
commit
e6c5a654ae
@ -1,3 +1,9 @@
|
||||
2004-01-21 Peter O'Gorman <peter@pogma.com>
|
||||
|
||||
* m4/libtool.m4 (AC_PROG_LD_RELOAD_FLAG): On darwin change the
|
||||
reload_cmds to use $CC, otherwise ld will thin out any fat
|
||||
objects.
|
||||
|
||||
2004-01-18 Benjamin Reed <ranger@befunk.com>
|
||||
|
||||
* ltmain.in: Fix handling of frameworks in search paths. Also
|
||||
|
5
m4/libtool.m4
vendored
5
m4/libtool.m4
vendored
@ -2507,7 +2507,10 @@ case $reload_flag in
|
||||
*) reload_flag=" $reload_flag" ;;
|
||||
esac
|
||||
reload_cmds='$LD$reload_flag -o $output$reload_objs'
|
||||
|
||||
case $host_os in
|
||||
darwin*)
|
||||
reload_cmds='$CC -nostdlib ${wl}-r -o $output$reload_objs'
|
||||
esac
|
||||
_LT_DECL([], [reload_flag], [1], [How to create reloadable object files])dnl
|
||||
_LT_DECL([], [reload_cmds], [2])dnl
|
||||
])# AC_PROG_LD_RELOAD_FLAG
|
||||
|
Loading…
Reference in New Issue
Block a user