summaryrefslogtreecommitdiff
path: root/win32/Makefile.ce
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2011-07-17 11:18:53 +0100
committerNicholas Clark <nick@ccl4.org>2011-08-01 11:53:47 +0200
commite9cefc111f9de79d56470a93e2665790775a1a3a (patch)
treec6dcdcc39525c31828014edf10d48fbb7d62d3c6 /win32/Makefile.ce
parente95aa0cbf5ce7c39ec487bb798ee06d4732fe257 (diff)
downloadperl-e9cefc111f9de79d56470a93e2665790775a1a3a.tar.gz
No need for makedef.pl to invoke $^X -V to get 'Compile-time options'.
Config now exposes this as Config::bincompat_options() and Config::non_bincompat_options(). Change WinCE to invoke makedef.pl with -MCross, which it should have been using all along, as the values it wants are from the host config, not the target config. [Not tested on WinCE]. Previously makedef.pl would have been loading the target config, but as it was only using $Config{path_sep}, this would not have mattered.
Diffstat (limited to 'win32/Makefile.ce')
-rw-r--r--win32/Makefile.ce2
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/Makefile.ce b/win32/Makefile.ce
index b1bf152611..39a6b585cc 100644
--- a/win32/Makefile.ce
+++ b/win32/Makefile.ce
@@ -847,7 +847,7 @@ $(DLLDIR)\perllib$(o) : perllib.c .\perlhost.h .\vdir.h .\vmem.h
perldll.def : $(HPERL) $(CONFIGPM) ..\global.sym ..\makedef.pl create_perllibst_h.pl
$(HPERL) -MCross -I..\lib create_perllibst_h.pl
- $(HPERL) -w ..\makedef.pl PLATFORM=wince $(OPTIMIZE) $(DEFINES) $(BUILDOPT) \
+ $(HPERL) -MCross -w ..\makedef.pl PLATFORM=wince $(OPTIMIZE) $(DEFINES) $(BUILDOPT) \
CCTYPE=$(CCTYPE) -DPERL_DLL=$(PERLDLL) TARG_DIR=..\ > perldll.def
$(PERLDLL) : $(DLLDIR) perldll.def $(XDLLOBJS) $(PERLDLL_RES)