on 11/26/01 9:12 AM, Ian Holsman at [EMAIL PROTECTED] wrote:

> Is it possible to do this for 2.0 as well?

In 2.0, this is taken care of by GNU libtool. This is why Greg had a
separate 2.0.28 tarball for darwin: that one has libtool 1.4.2 which already
contains the patch but has issues on some other platforms.

Going forward, we can a) continue this practice until all platforms can use
a 1.4 version of libtool or b) backport darwin support to libtool 1.3.5 as
described on: 

<http://fink.sourceforge.net/doc/porting/libtool.php>.

This would have to be done on the box where the tarballs are rolled so that
contains the correct ltconf and ltmain.sh.

Folks working from the CVS tree need to hack the GNU libtool on their system
as Apple hasn't seen fit to update the libtool they ship. Here's what I use:

--- /usr/share/libtool/ltconfig.bak     Tue Oct  2 17:53:33 2001
+++ /usr/share/libtool/ltconfig Wed Oct 24 15:14:24 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

(the archive_cmds assignment is a single line) and then re-run buildconf.

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