On Thu, 13 Jun 2002, R Blake wrote:

>     ld='cc', ldflags ='-flat_namespace -undefined suppress -L/usr/local/lib 
> -L/usr/lib -L/usr/X11R6/lib -L/usr/local/BerkeleyDB/lib'

how did '-undefined suppress' end up in your ldflags?  they should only be 
in lddflags.
on the osx box i test on, ldflags only has this:
% perl -V:ldflags
ldflags=' -flat_namespace';

they should only be in lddlflags:
% perl -V:lddlflags
lddlflags=' -flat_namespace -bundle -undefined suppress';

you could try the patch below which will remove them from ldflags.

--- lib/Apache/Build.pm 30 May 2002 06:00:49 -0000      1.96
+++ lib/Apache/Build.pm 15 Jun 2002 17:10:14 -0000
@@ -184,6 +184,9 @@
             $ldopts =~ s/\Q$cp/$repl/;
         }
     }
+    else if (DARWIN) {
+        $ldopts =~ s/-undefined suppress//;
+    }
 
     if ($self->{MP_USE_GTOP}) {
         $ldopts .= $self->gtop_ldopts;



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to