summaryrefslogtreecommitdiffstats
path: root/PCbuild/_sre.dsp
diff options
context:
space:
mode:
authorMark Hammond <mhammond@skippinet.com.au>2002-07-23 06:31:15 (GMT)
committerMark Hammond <mhammond@skippinet.com.au>2002-07-23 06:31:15 (GMT)
commit62b1ab1b314653c09757c533883447eda437306f (patch)
tree0aaf9538469559756f9129c5da8b09abc4903c04 /PCbuild/_sre.dsp
parent92825a9a525c268b9797b8be28dbd959b64a821d (diff)
downloadcpython-62b1ab1b314653c09757c533883447eda437306f.zip
cpython-62b1ab1b314653c09757c533883447eda437306f.tar.gz
cpython-62b1ab1b314653c09757c533883447eda437306f.tar.bz2
Replace DL_IMPORT with PyMODINIT_FUNC and remove "/export:init..." link
command line for Windows builds. This should allow MSVC to import and build the Python MSVC6 project files without error.
Diffstat (limited to 'PCbuild/_sre.dsp')
-rwxr-xr-xPCbuild/_sre.dsp8
1 files changed, 4 insertions, 4 deletions
diff --git a/PCbuild/_sre.dsp b/PCbuild/_sre.dsp
index f2ddac5..cc141b0 100755
--- a/PCbuild/_sre.dsp
+++ b/PCbuild/_sre.dsp
@@ -4,7 +4,7 @@
# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102
-CFG=_sre - Win32 Alpha Release
+CFG=_sre - Win32 Release
!MESSAGE This is not a valid makefile. To build this project using NMAKE,
!MESSAGE use the Export Makefile command and run
!MESSAGE
@@ -13,7 +13,7 @@ CFG=_sre - Win32 Alpha Release
!MESSAGE You can specify a configuration when running NMAKE
!MESSAGE by defining the macro CFG on the command line. For example:
!MESSAGE
-!MESSAGE NMAKE /f "_sre.mak" CFG="_sre - Win32 Alpha Release"
+!MESSAGE NMAKE /f "_sre.mak" CFG="_sre - Win32 Release"
!MESSAGE
!MESSAGE Possible choices for configuration are:
!MESSAGE
@@ -54,7 +54,7 @@ BSC32=bscmake.exe
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /dll /machine:I386
-# ADD LINK32 user32.lib kernel32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /base:"0x1e1e0000" /subsystem:windows /dll /debug /machine:I386 /out:"./_sre.pyd" /export:init_sre
+# ADD LINK32 user32.lib kernel32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /base:"0x1e1e0000" /subsystem:windows /dll /debug /machine:I386 /out:"./_sre.pyd"
# SUBTRACT LINK32 /pdb:none
!ELSEIF "$(CFG)" == "_sre - Win32 Debug"
@@ -82,7 +82,7 @@ BSC32=bscmake.exe
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /dll /debug /machine:I386 /pdbtype:sept
-# ADD LINK32 user32.lib kernel32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /base:"0x1e1e0000" /subsystem:windows /dll /debug /machine:I386 /out:"./_sre_d.pyd" /pdbtype:sept /export:init_sre
+# ADD LINK32 user32.lib kernel32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /base:"0x1e1e0000" /subsystem:windows /dll /debug /machine:I386 /out:"./_sre_d.pyd" /pdbtype:sept
# SUBTRACT LINK32 /pdb:none
!ENDIF