diff options
author | Robert Nagy <robert@openbsd.org> | 2012-03-29 23:43:47 +0200 |
---|---|---|
committer | Robert Nagy <robert@openbsd.org> | 2012-03-29 23:45:36 +0200 |
commit | 7cce08194caf83703ae83bbbf6227237338e5447 (patch) | |
tree | 974f48c75b2d1e650469c0477fc97b05a3d0109f | |
parent | 72252bcab1acd94862a7004890a906621c4a08dd (diff) |
add $python_libs to PYTHON_LIBS in case pkg-config is being used
-rw-r--r-- | configure.in | 2 |
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" |