Import MacOS X 10.1 fix from lukeh@padl.com (ITS#1361)

This commit is contained in:
Kurt Zeilenga 2001-09-29 05:17:49 +00:00
parent a69d8bff93
commit 8f4795d064

View file

@ -1375,7 +1375,7 @@ else
darwin* | rhapsody*)
allow_undefined_flag='-undefined warning'
archive_cmds='$CC $(if [ "$module" = "yes" ]; then echo -bundle; else echo -dynamiclib -undefined suppress; fi) -o $lib $libobjs $deplibs $linkopts'
archive_cmds='$CC $(if [ "$module" = "yes" ]; then echo -bundle; else echo -dynamiclib -flat_namespace -undefined suppress; fi) -o $lib $libobjs $deplibs $linkopts'
archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols'
## What we need is to hardcode the path to the library, not the search path
#hardcode_direct=yes