summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Nagy <robert@openbsd.org>2012-03-29 23:43:47 +0200
committerRobert Nagy <robert@openbsd.org>2012-03-29 23:45:36 +0200
commit7cce08194caf83703ae83bbbf6227237338e5447 (patch)
tree974f48c75b2d1e650469c0477fc97b05a3d0109f
parent72252bcab1acd94862a7004890a906621c4a08dd (diff)
add $python_libs to PYTHON_LIBS in case pkg-config is being used
-rw-r--r--configure.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index de7603fb019d..fc743c8c705c 100644
--- a/configure.in
+++ b/configure.in
@@ -6285,7 +6285,7 @@ if test $enable_python = system; then
python_libdir=`$PYTHON -c "import distutils.sysconfig; print(distutils.sysconfig.get_config_var('LIBDIR'));"`
if $PKG_CONFIG --exists python-$python_version; then
PYTHON_CFLAGS="`$PKG_CONFIG --cflags python-$python_version`"
- PYTHON_LIBS="`$PKG_CONFIG --libs python-$python_version`"
+ PYTHON_LIBS="`$PKG_CONFIG --libs python-$python_version` $python_libs"
else
PYTHON_CFLAGS="-I$python_include"
PYTHON_LIBS="-L$python_libdir -lpython$python_version $python_libs"