summaryrefslogtreecommitdiff
path: root/hints
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-10-07 14:17:12 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-10-07 14:17:12 +0000
commit14c11978e9b52e08a56dce082343fc3fe472c526 (patch)
tree939a7e0664d6fe261d3022a65ef0085ac4bead20 /hints
parent00bd5ed85c38a68c2b3fa9ebc0b5817668631f19 (diff)
downloadperl-14c11978e9b52e08a56dce082343fc3fe472c526.tar.gz
It seems that in MacOS X 10.1 one must use -flat_namespace
in ldflags. p4raw-id: //depot/perl@12351
Diffstat (limited to 'hints')
-rw-r--r--hints/darwin.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/hints/darwin.sh b/hints/darwin.sh
index b4a7e52898..32a99b970b 100644
--- a/hints/darwin.sh
+++ b/hints/darwin.sh
@@ -88,6 +88,7 @@ so='dylib';
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 @@ usemymalloc='n';
# 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 @@ LC_ALL=C; export LC_ALL;
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.