aboutsummaryrefslogtreecommitdiffstats
path: root/native
diff options
context:
space:
mode:
authorBjoern Brandenburg <bbb@mpi-sws.org>2013-01-15 07:04:13 -0500
committerBjoern Brandenburg <bbb@mpi-sws.org>2013-01-15 07:04:13 -0500
commit4cdaafacd7da23c7c86b524ac26a55f54ad861e7 (patch)
tree27f921beb7ad8dc0309526da66b0a00b3a352f6e /native
parent9a90777ac5b7741a7a1be2c0faff1717c841675f (diff)
Inform about Python version during build process
Diffstat (limited to 'native')
-rw-r--r--native/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/native/Makefile b/native/Makefile
index d9bfa1f..aa8f75c 100644
--- a/native/Makefile
+++ b/native/Makefile
@@ -24,6 +24,7 @@ DEFS ?=
24OS := $(shell uname) 24OS := $(shell uname)
25 25
26# How to link Python libraries? 26# How to link Python libraries?
27PYTHON_VER := ${shell ${PYTHON} --version 2>&1}
27ifeq ($(OS),Darwin) 28ifeq ($(OS),Darwin)
28# Mac OS X: link against Python Framework 29# Mac OS X: link against Python Framework
29PYTHON_INC ?= -I/System/Library/Frameworks/Python.framework/Headers/ 30PYTHON_INC ?= -I/System/Library/Frameworks/Python.framework/Headers/
@@ -36,6 +37,8 @@ PYTHON_INC ?= -I${shell ${PYTHON} -c "import distutils.sysconfig; print distutil
36PYTHON_LIB ?= 37PYTHON_LIB ?=
37SOFLAGS = -shared 38SOFLAGS = -shared
38endif 39endif
40${info Linking with ${PYTHON_VER} (headers: ${PYTHON_INC}).}
41
39 42
40# Support for clock_gettime() 43# Support for clock_gettime()
41ifeq ($(OS),Linux) 44ifeq ($(OS),Linux)