Ticket #510: patch-configure

File patch-configure, 872 bytes (added by blb@…, 21 years ago)

files/patch-configure

Line 
1--- configure.orig      Tue Apr  1 06:38:49 2003
2+++ configure   Sat Apr 26 01:27:25 2003
3@@ -5776,7 +5776,7 @@
4     # FIXME: Relying on posixy $() will cause problems for
5     #        cross-compilation, but unfortunately the echo tests do not
6     #        yet detect zsh echo's removal of \ escapes.
7-    archive_cmds='$nonopt $(test "x$module" = xyes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs$linker_flags -install_name $rpath/$soname $verstring'
8+    archive_cmds='$nonopt $(test .$module = .yes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs$linker_flags $(test .$module != .yes && echo -install_name $rpath/$soname $verstring)'
9     # We need to add '_' to the symbols in $export_symbols first
10     #archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols'
11     hardcode_direct=yes