Change 12351 by jhi@alpha on 2001/10/07 14:17:12
It seems that in MacOS X 10.1 one must use -flat_namespace
in ldflags.
Affected files ...
... //depot/perl/hints/darwin.sh#16 edit
Differences ...
==== //depot/perl/hints/darwin.sh#16 (text) ====
Index: perl/hints/darwin.sh
--- perl/hints/darwin.sh.~1~ Sun Oct 7 08:30:05 2001
+++ perl/hints/darwin.sh Sun Oct 7 08:30:05 2001
@@ -88,6 +88,7 @@
dlext='bundle';
dlsrc='dl_dyld.xs'; usedl='define';
cccdlflags=' '; # space, not empty, because otherwise we get -fpic
+ldflags="${ldflags} -flat_namepace"
lddlflags="${ldflags} -bundle -undefined suppress";
ldlibpthname='DYLD_LIBRARY_PATH';
useshrplib='true';
@@ -108,6 +109,7 @@
# Locales aren't feeling well.
LC_ALL=C; export LC_ALL;
+LANG=C; export LANG;
# Case-insensitive filesystems don't get along with Makefile and
# makefile in the same place. Since Darwin uses GNU make, this dodges
@@ -115,7 +117,7 @@
firstmakefile=GNUmakefile;
#
-# The libraries are not threadsafe as of OS X 10. (10.1?)
+# The libraries are not threadsafe as of OS X 10.1.
# Better stop now.
#
# Fix when Apple fixes libc.
End of Patch.