diff options
author | Christopher Baines <mail@cbaines.net> | 2016-08-27 09:21:23 +0100 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2016-09-03 12:20:26 +0100 |
commit | dedc42952b40fea75e909d2f89a320a4ee3e6781 (patch) | |
tree | acd472ba847b2678f2c562c5002644e9d595f9bc /Makefile | |
parent | 7d07ab0808e0446a788d822baef69afd54320a61 (diff) | |
download | pyguile-dedc42952b40fea75e909d2f89a320a4ee3e6781.tar pyguile-dedc42952b40fea75e909d2f89a320a4ee3e6781.tar.gz |
Don't hardcode the Python include path
This is a problem when building with Guix.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -45,7 +45,7 @@ #PYVERSION = `python -V 2>&1 | cut -d\ -f2 | cut -d. -f1-2` PYVERSION = `python -c "import sys;sys.stdout.write(sys.version[:3])"` -PYINC = -I/usr/include/python$(PYVERSION) +PYINC = $(shell python-config --includes) PYLIB = -lpython$(PYVERSION) PERL = /usr/bin/perl TEST_VERBOSE = 0 |