From: Jarkko Hietaniemi Date: Sun, 7 Oct 2001 14:17:12 +0000 (+0000) Subject: It seems that in MacOS X 10.1 one must use -flat_namespace X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=14c11978e9b52e08a56dce082343fc3fe472c526;p=p5sagit%2Fp5-mst-13.2.git It seems that in MacOS X 10.1 one must use -flat_namespace in ldflags. p4raw-id: //depot/perl@12351 --- diff --git a/hints/darwin.sh b/hints/darwin.sh index b4a7e52..32a99b9 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.