From: Kurt Zeilenga Date: Sat, 29 Sep 2001 05:17:49 +0000 (+0000) Subject: Import MacOS X 10.1 fix from lukeh@padl.com (ITS#1361) X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~1033 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=8f4795d0645595532d903be8d971f68a34f4fc15;p=openldap Import MacOS X 10.1 fix from lukeh@padl.com (ITS#1361) --- diff --git a/build/ltconfig b/build/ltconfig index 088583ada1..34cd1a3d90 100755 --- a/build/ltconfig +++ b/build/ltconfig @@ -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