mirror of
https://github.com/python/cpython.git
synced 2025-11-13 07:26:31 +00:00
Minor change for windows; set extensions_c later and set
frozendllmain_c at the right place.
This commit is contained in:
parent
b84ef9bc61
commit
5e32a77fcd
1 changed files with 3 additions and 1 deletions
|
|
@ -117,7 +117,6 @@ def main():
|
||||||
target = 'a.out' # normally derived from script name
|
target = 'a.out' # normally derived from script name
|
||||||
makefile = 'Makefile'
|
makefile = 'Makefile'
|
||||||
subsystem = 'console'
|
subsystem = 'console'
|
||||||
if win: extensions_c = 'frozen_extensions.c'
|
|
||||||
|
|
||||||
# parse command line
|
# parse command line
|
||||||
try:
|
try:
|
||||||
|
|
@ -171,6 +170,8 @@ def main():
|
||||||
|
|
||||||
# locations derived from options
|
# locations derived from options
|
||||||
version = sys.version[:3]
|
version = sys.version[:3]
|
||||||
|
if win:
|
||||||
|
extensions_c = 'frozen_extensions.c'
|
||||||
if ishome:
|
if ishome:
|
||||||
print "(Using Python source directory)"
|
print "(Using Python source directory)"
|
||||||
binlib = exec_prefix
|
binlib = exec_prefix
|
||||||
|
|
@ -190,6 +191,7 @@ def main():
|
||||||
config_c_in = os.path.join(binlib, 'config.c.in')
|
config_c_in = os.path.join(binlib, 'config.c.in')
|
||||||
frozenmain_c = os.path.join(binlib, 'frozenmain.c')
|
frozenmain_c = os.path.join(binlib, 'frozenmain.c')
|
||||||
makefile_in = os.path.join(binlib, 'Makefile')
|
makefile_in = os.path.join(binlib, 'Makefile')
|
||||||
|
frozendllmain_c = os.path.join(binlib, 'frozen_dllmain.c')
|
||||||
supp_sources = []
|
supp_sources = []
|
||||||
defines = []
|
defines = []
|
||||||
includes = ['-I' + incldir, '-I' + config_h_dir]
|
includes = ['-I' + incldir, '-I' + config_h_dir]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue