> Thanks though!  All seems well again.  Of course, I had to modify the
> installed build script for the -flat-namespace cruft, but other than that,
> no problems {right}.

The -flat_namespace flag is best set inside ltconfig before the libtoolize
step. However, for the last two dev tools revisions Apple has not done this,
so to use the supplied libtool installation requires a patch to ltconfig:

--- /usr/share/libtool/ltconfig.bak     Tue Oct  2 17:53:33 2001
+++ /usr/share/libtool/ltconfig Wed Dec 12 22:30:16 2001
@@ -1372,7 +1372,7 @@
     ;;
 
   darwin* | rhapsody*)
-    allow_undefined_flag='-undefined warning'
+    allow_undefined_flag='-undefined warning -flat_namespace'
     archive_cmds='$CC $(if test .$module = .yes; then echo -bundle; else
echo -dynamiclib; fi) $allow_undefined_flag -o $lib $libobjs $deplibs
$linkopts'
     #archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols $lib'
     hardcode_direct=yes

I know Fred has filed this as a bug but apparently it hasn't drifted to the
surface yet at Apple.

S.

-- 
Covalent Technologies                             [EMAIL PROTECTED]
Engineering group                                Voice: (415) 536 5214
645 Howard St.                                     Fax: (415) 536 5210
San Francisco CA 94105

   PGP Fingerprint: 1E74 4E58 DFAC 2CF5 6A03  5531 AFB1 96AF B584 0AB1

=======================================================
This email message is for the sole use of the intended recipient(s) and may
contain confidential and privileged information. Any unauthorized review,
use, disclosure or distribution is prohibited.  If you are not the intended
recipient, please contact the sender by reply email and destroy all copies
of the original message
=======================================================

Reply via email to