From 590fc2c4fa9f831d5a1e5f7f3b59135f74f7e4ec Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Fri, 12 Jun 1998 14:09:03 +0000 Subject: Jonathan Giddy: The first one only shows up if $prefix != $exec_prefix, and the problem is caused by the recent change in location for config.h. --- Tools/freeze/freeze.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Tools/freeze/freeze.py b/Tools/freeze/freeze.py index b070f07..0818c4b 100755 --- a/Tools/freeze/freeze.py +++ b/Tools/freeze/freeze.py @@ -175,6 +175,7 @@ def main(): print "(Using Python source directory)" binlib = exec_prefix incldir = os.path.join(prefix, 'Include') + config_h_dir = exec_prefix config_c_in = os.path.join(prefix, 'Modules', 'config.c.in') frozenmain_c = os.path.join(prefix, 'Python', 'frozenmain.c') makefile_in = os.path.join(exec_prefix, 'Modules', 'Makefile') @@ -184,12 +185,14 @@ def main(): binlib = os.path.join(exec_prefix, 'lib', 'python%s' % version, 'config') incldir = os.path.join(prefix, 'include', 'python%s' % version) + config_h_dir = os.path.join(exec_prefix, 'include', + 'python%s' % version) config_c_in = os.path.join(binlib, 'config.c.in') frozenmain_c = os.path.join(binlib, 'frozenmain.c') makefile_in = os.path.join(binlib, 'Makefile') supp_sources = [] defines = [] - includes = ['-I' + incldir, '-I' + binlib] + includes = ['-I' + incldir, '-I' + config_h_dir] # sanity check of directories and files for dir in [prefix, exec_prefix, binlib, incldir] + extensions: -- cgit v0.12