diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2003-05-12 05:25:14 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2003-05-12 05:25:14 +0000 |
commit | cb3fc4263509f28c87c21a0ddac50efa1bb80122 (patch) | |
tree | bc353f0989276fd61a128d1e1e3f6355d874c7e2 /Makefile.SH | |
parent | bce260cd95d1dd29e348f40a7f6682c3d7fea3fc (diff) | |
download | perl-cb3fc4263509f28c87c21a0ddac50efa1bb80122.tar.gz |
Panther preparation.
p4raw-id: //depot/perl@19500
Diffstat (limited to 'Makefile.SH')
-rw-r--r-- | Makefile.SH | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/Makefile.SH b/Makefile.SH index 173bfec17d..3d60f1048b 100644 --- a/Makefile.SH +++ b/Makefile.SH @@ -546,6 +546,25 @@ miniperl: $& miniperlmain$(OBJ_EXT) $(LIBPERL) opmini$(OBJ_EXT) $(LDLIBPTH) ./miniperl -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest !NO!SUBS! ;; + darwin*) + case "$osvers" in + [1-6].*) ;; + *) case "$ldflags" in + *"-flat_namespace"*) ;; + *) # to allow opmini.o to override stuff in libperl.dylib + namespaceflags="-force_flat_namespace" ;; + esac + ;; + esac + $spitshell >>Makefile <<'!NO!SUBS!' +miniperl$(EXE_EXT): $& miniperlmain$(OBJ_EXT) $(LIBPERL) opmini$(OBJ_EXT) + -@rm -f miniperl.xok + $(CC) $(CLDFLAGS) $(namespaceflags) -o miniperl \ + miniperlmain$(OBJ_EXT) opmini$(OBJ_EXT) $(LLIBPERL) $(libs) + $(LDLIBPTH) ./miniperl -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest + $spitshell >>Makefile <<'!NO!SUBS!' +!NO!SUBS! + ;; *) $spitshell >>Makefile <<'!NO!SUBS!' miniperl$(EXE_EXT): $& miniperlmain$(OBJ_EXT) $(LIBPERL) opmini$(OBJ_EXT) |