on darwin so that ld will not thin fat files.
2004-07-08 Peter O'Gorman <peter@pogma.com>
+ * libtool.m4 [darwin](AC_PROG_LD_RELOAD_FLAG): Use $CC -nostdlib -r
+ on darwin so that ld will not thin fat files.
+
* libtool.m4 [darwin]: Clean up darwin bits. Looks more normal now.
2004-07-07 Brad <brad@comstyle.com>
*) reload_flag=" $reload_flag" ;;
esac
reload_cmds='$LD$reload_flag -o $output$reload_objs'
+case $host_os in
+ darwin*)
+ if test "$GCC" = yes; then
+ reload_cmds='$CC -nostdlib ${wl}-r -o $output$reload_objs'
+ else
+ reload_cmds='$LD$reload_flag -o $output$reload_objs'
+ fi
+ ;;
+esac
])# AC_PROG_LD_RELOAD_FLAG