]> git.sur5r.net Git - openldap/commitdiff
Import MacOS X 10.1 fix from lukeh@padl.com (ITS#1361)
authorKurt Zeilenga <kurt@openldap.org>
Sat, 29 Sep 2001 05:17:49 +0000 (05:17 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Sat, 29 Sep 2001 05:17:49 +0000 (05:17 +0000)
build/ltconfig

index 088583ada1d4ed63b2ae6477b8009f292f6508a8..34cd1a3d90d24b31d223e2d202c23f273c151380 100755 (executable)
@@ -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