Ticket #775: patch-configure

File patch-configure, 1.2 KB (added by bchesneau@…, 21 years ago)

patch configure file

Line 
1--- configure-orig      Wed Oct  1 20:42:09 2003
2+++ configure   Wed Oct  1 20:47:50 2003
3@@ -90291,10 +90291,10 @@
4     #        cross-compilation, but unfortunately the echo tests do not
5     #        yet detect zsh echo's removal of \ escapes.  Also zsh mangles
6     #       `"' quotes if we put them in here... so don't!
7-    archive_cmds='$CC -r -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)'
8+    archive_cmds='$nonopt -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs && $nonopt $(test .$module = .yes && echo -bundle $allow_undefined_flag || echo -dynamiclib) -o $lib ${lib}-master.o $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
12+    hardcode_direct=no
13     hardcode_shlibpath_var=no
14     whole_archive_flag_spec='-all_load $convenience'
15     ;;