Ticket #364: patch-configure

File patch-configure, 1.0 KB (added by drm@…, 22 years ago)

patch-configure

Line 
1--- configure-orig      Thu Feb 14 06:15:45 2002
2+++ configure   Tue May 21 00:32:26 2002
3@@ -3426,11 +3426,11 @@
4     ;;
5 
6   darwin* | rhapsody*)
7-    allow_undefined_flag='-undefined suppress'
8+    allow_undefined_flag='-flat_namespace -undefined suppress'
9     # FIXME: Relying on posixy $() will cause problems for
10     #        cross-compilation, but unfortunately the echo tests do not
11     #        yet detect zsh echo's removal of \ escapes.
12-    archive_cmds='$CC $(test .$module = .yes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs$linkopts -install_name $rpath/$soname $(test -n "$verstring" -a x$verstring != x0.0 && echo $verstring)'
13+    archive_cmds='$CC $(test .$module = .yes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs$linkopts -install_name $rpath/$soname $tmp_verstring'
14     # We need to add '_' to the symbols in $export_symbols first
15     #archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols'
16     hardcode_direct=yes