summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
authorSteve Hay <steve.m.hay@googlemail.com>2013-06-06 23:48:56 +0100
committerSteve Hay <steve.m.hay@googlemail.com>2013-06-06 23:48:56 +0100
commit7a278470580a96e01c6545304d787761ea9d8c80 (patch)
treecf6301e8947020cee1117b67416ed7a586745945 /win32
parenta6c3746408c2badd5e2cc1a5be0adae06317533c (diff)
downloadperl-7a278470580a96e01c6545304d787761ea9d8c80.tar.gz
Add a note to Win32's BUILD_STATIC configuration to include Win32CORE
Win32CORE needs to be included for the on-demand loading of Win32 to work. (Many of Win32's Perl level functions are pre-defined (even without a "use Win32" statement), while the implementation is in a dynamically linked module.)
Diffstat (limited to 'win32')
-rw-r--r--win32/Makefile3
-rw-r--r--win32/makefile.mk3
2 files changed, 4 insertions, 2 deletions
diff --git a/win32/Makefile b/win32/Makefile
index 672953a13b..309ff19a9d 100644
--- a/win32/Makefile
+++ b/win32/Makefile
@@ -777,7 +777,8 @@ SETARGV_OBJ = setargv$(o)
STATIC_EXT = * !Win32 !SDBM_File !Encode
!ELSE
# specify static extensions here, for example:
-#STATIC_EXT = Cwd Compress/Raw/Zlib
+# (be sure to include Win32CORE to load Win32 on demand)
+#STATIC_EXT = Win32CORE Cwd Compress/Raw/Zlib
STATIC_EXT = Win32CORE
!ENDIF
diff --git a/win32/makefile.mk b/win32/makefile.mk
index f50c444474..401fee5207 100644
--- a/win32/makefile.mk
+++ b/win32/makefile.mk
@@ -884,7 +884,8 @@ STATIC_EXT += !Compress/Raw/Bzip2
.ENDIF
.ELSE
# specify static extensions here, for example:
-#STATIC_EXT = Cwd Compress/Raw/Zlib
+# (be sure to include Win32CORE to load Win32 on demand)
+#STATIC_EXT = Win32CORE Cwd Compress/Raw/Zlib
STATIC_EXT = Win32CORE
.ENDIF