diff options
| author | doko@python.org <doko@python.org> | 2013-01-25 13:19:35 +0100 |
|---|---|---|
| committer | doko@python.org <doko@python.org> | 2013-01-25 13:19:35 +0100 |
| commit | 0c77bf757f94945b9e11a3d1f44ee47466866fd0 (patch) | |
| tree | 5515c7434c0a8425cf80bcc130b93526ff3eaf96 /Makefile.pre.in | |
| parent | d269b5e73d831b5cd870c859741f248cb8b1bc09 (diff) | |
| parent | 3e6e2ac31d8b847f65240f333e54322880adc914 (diff) | |
| download | cpython-git-0c77bf757f94945b9e11a3d1f44ee47466866fd0.tar.gz | |
- Issue #17029: Let h2py search the multiarch system include directory.
Diffstat (limited to 'Makefile.pre.in')
| -rw-r--r-- | Makefile.pre.in | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in index 084ff9fcf5..8883461601 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in @@ -97,6 +97,9 @@ PY_CORE_CFLAGS= $(PY_CFLAGS) $(PY_CPPFLAGS) $(CFLAGSFORSHARED) -DPy_BUILD_CORE # Machine-dependent subdirectories MACHDEP= @MACHDEP@ +# Multiarch directory (may be empty) +MULTIARCH= @MULTIARCH@ + # Install prefix for architecture-independent files prefix= @prefix@ @@ -1119,6 +1122,7 @@ $(srcdir)/Lib/$(PLATDIR): export PYTHONPATH; PYTHONPATH="`pwd`/Lib"; \ export DYLD_FRAMEWORK_PATH; DYLD_FRAMEWORK_PATH="`pwd`"; \ export EXE; EXE="$(BUILDEXE)"; \ + if [ -n "$(MULTIARCH)" ]; then export MULTIARCH; MULTIARCH=$(MULTIARCH); fi; \ cd $(srcdir)/Lib/$(PLATDIR); $(RUNSHARED) ./regen python-config: $(srcdir)/Misc/python-config.in |
