summaryrefslogtreecommitdiff
path: root/Cross
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2009-01-28 14:33:34 +0000
committerNicholas Clark <nick@ccl4.org>2009-01-28 14:33:34 +0000
commit97a26ad97b57719769c0df73f21ab399fc6ae981 (patch)
tree579e6fe7730d5a0f7896d0ff58ab71cf3af4ba6e /Cross
parent23d483e2ac9eec5dd3415b4d8aad7ec7b0551ead (diff)
downloadperl-97a26ad97b57719769c0df73f21ab399fc6ae981.tar.gz
Fold ext/util/make_ext_cross into ext/util/make_ext.pl, and delete it.
Add --option argument parsing to make_ext.pl (swiped from buildext.pl). Add a --cross option to add -MCross to the Makefile.PL line. Change Cross/Makefile-cross-SH to call "ext/util/make_ext.pl --cross ..."
Diffstat (limited to 'Cross')
-rwxr-xr-xCross/Makefile-cross-SH8
1 files changed, 4 insertions, 4 deletions
diff --git a/Cross/Makefile-cross-SH b/Cross/Makefile-cross-SH
index 8ab4d72d85..2889ca7a46 100755
--- a/Cross/Makefile-cross-SH
+++ b/Cross/Makefile-cross-SH
@@ -937,16 +937,16 @@ manicheck: FORCE
$(DYNALOADER): preplibrary FORCE
- @$(LDLIBPTH) sh ext/util/make_ext_cross $(STATIC) $@ MAKE=$(MAKE) LIBPERL_A=$(LIBPERL)
+ @$(LDLIBPTH) $(RUN) ./miniperl$(EXE_EXT) -Ilib ext/util/make_ext.pl --cross $(STATIC) $@ MAKE=$(MAKE) LIBPERL_A=$(LIBPERL)
d_dummy $(dynamic_ext): miniperl$(EXE_EXT) preplibrary makeppport $(DYNALOADER) FORCE
- @$(LDLIBPTH) sh ext/util/make_ext_cross dynamic $@ MAKE=$(MAKE) LIBPERL_A=$(LIBPERL)
+ @$(LDLIBPTH) $(RUN) ./miniperl$(EXE_EXT) -Ilib ext/util/make_ext.pl --cross dynamic $@ MAKE=$(MAKE) LIBPERL_A=$(LIBPERL)
s_dummy $(static_ext): miniperl$(EXE_EXT) preplibrary makeppport $(DYNALOADER) FORCE
- @$(LDLIBPTH) sh ext/util/make_ext_cross $(STATIC) $@ MAKE=$(MAKE) LIBPERL_A=$(LIBPERL)
+ @$(LDLIBPTH) $(RUN) ./miniperl$(EXE_EXT) -Ilib ext/util/make_ext.pl --cross $(STATIC) $@ MAKE=$(MAKE) LIBPERL_A=$(LIBPERL)
n_dummy $(nonxs_ext): miniperl$(EXE_EXT) preplibrary $(DYNALOADER) FORCE
- @$(LDLIBPTH) sh ext/util/make_ext_cross nonxs $@ MAKE=$(MAKE) LIBPERL_A=$(LIBPERL)
+ @$(LDLIBPTH) $(RUN) ./miniperl$(EXE_EXT) -Ilib ext/util/make_ext.pl --cross nonxs $@ MAKE=$(MAKE) LIBPERL_A=$(LIBPERL)
!NO!SUBS!
$spitshell >>$Makefile <<EOF