diff options
author | Joe George <joe@zeroc.com> | 2018-11-21 11:42:58 -0500 |
---|---|---|
committer | Joe George <joe@zeroc.com> | 2018-11-21 11:55:22 -0500 |
commit | c3ae583dc8c184bc1a094a1ae7d1be769c69b9fb (patch) | |
tree | f50a81a7ba8880007ff54e0897dda7ea1d69f712 /python | |
parent | Android and Xamarin test controller fixes and improvements (diff) | |
download | ice-c3ae583dc8c184bc1a094a1ae7d1be769c69b9fb.tar.bz2 ice-c3ae583dc8c184bc1a094a1ae7d1be769c69b9fb.tar.xz ice-c3ae583dc8c184bc1a094a1ae7d1be769c69b9fb.zip |
Fix computation of python-config. Fixes #303
Diffstat (limited to 'python')
-rw-r--r-- | python/config/Make.rules | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python/config/Make.rules b/python/config/Make.rules index 5d38cdc65c7..68490a742e3 100644 --- a/python/config/Make.rules +++ b/python/config/Make.rules @@ -20,9 +20,9 @@ PYTHON ?= python -include $(lang_srcdir)/config/Make.rules.$(os) -# Use pythonM.m-config rather than pythonMm-config because some platforms don't provide pythonMm-config +# PYTHON must be set to a value that has a corresponding PYTHON-config python-version := $(shell $(PYTHON) -c "import sys; print(\"{0}.{1}\".format(sys.version_info[0], sys.version_info[1]))") -python-config := python$(python-version)-config +python-config := $(PYTHON)-config ifeq ($(os),Linux) cppflags := $(filter-out -Wredundant-decls,$(cppflags)) |