[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Darwin patch for HEAD.
From: |
Boehne, Robert |
Subject: |
Darwin patch for HEAD. |
Date: |
Fri, 11 Oct 2002 10:43:18 -0500 |
Hello,
I've modified the darwin patch that just went into 1.4.x
for CVS head. I think this has the same effect, but is
a bit cleaner. Anyone care to test it out?
ChangeLog entry:
2002-10-11 Christoph Egger <address@hidden>
* libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS, darwin): Add
-install_name to the link line only when -dynamiclib is
specified for a module. Use -bind_at_load when linking C++
shared libraries.
--
Robert Boehne Software Engineer
Ricardo Software Chicago Technical Center
TEL: (630)789-0003 x. 238
FAX: (630)789-0127
email: rboehne AT ricardo-us DOT com
2002-10-11 Christoph Egger <address@hidden>
* libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS, darwin): Add
-install_name to the link line only when -dynamiclib is
specified for a module. Use -bind_at_load when linking C++
shared libraries.
Index: libtool.m4
===================================================================
RCS file: /cvsroot/libtool/libtool/libtool.m4,v
retrieving revision 1.265
diff -u -r1.265 libtool.m4
--- libtool.m4 4 Oct 2002 15:34:50 -0000 1.265
+++ libtool.m4 11 Oct 2002 15:39:41 -0000
@@ -4950,7 +4950,7 @@
# cross-compilation, but unfortunately the echo tests do not
# yet detect zsh echo's removal of \ escapes. Also zsh mangles
# `"' quotes if we put them in here... so don't!
- _LT_AC_TAGVAR(archive_cmds, $1)='$CC $(test .$module = .yes && echo
-bundle || echo -dynamiclib) $allow_undefined_flag -o $lib $libobjs
$deplibs$linker_flags -install_name $rpath/$soname $verstring'
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -r ${wl}-bind_at_load
-keep_private_externs -nostdlib -o ${lib}-master.o $libobjs && $CC $(test
.$module = .yes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o
$lib ${lib}-master.o $deplibs$linker_flags $(test .$module != .yes && echo
-install_name $rpath/$soname $verstring)'
# We need to add '_' to the symbols in $export_symbols first
#_LT_AC_TAGVAR(archive_expsym_cmds, $1)="$_LT_AC_TAGVAR(archive_cmds,
$1)"' && strip -s $export_symbols'
_LT_AC_TAGVAR(hardcode_direct, $1)=yes
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Darwin patch for HEAD.,
Boehne, Robert <=