summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.in2
-rw-r--r--weechat/configure.in2
2 files changed, 4 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index ee7e6a143..46ade8c11 100644
--- a/configure.in
+++ b/configure.in
@@ -258,6 +258,8 @@ if test "x$enable_python" = "xyes" ; then
AC_MSG_CHECKING(for Python library)
if test -r "$PYTHON_LIB/libpython$PYTHON_VERSION.so"; then
PYTHON_LFLAGS="-L$PYTHON_LIB $PYTHON_LFLAGS"
+ elif test -r "$PYTHON_LIB/libpython$PYTHON_VERSION.a"; then
+ PYTHON_LFLAGS="-L$PYTHON_LIB $PYTHON_LFLAGS"
elif test -r "$PYTHON_SYSPREFIX/lib/libpython$PYTHON_VERSION.so"; then
PYTHON_LFLAGS="-L$PYTHON_SYSPREFIX/lib/ $PYTHON_LFLAGS"
else
diff --git a/weechat/configure.in b/weechat/configure.in
index ee7e6a143..46ade8c11 100644
--- a/weechat/configure.in
+++ b/weechat/configure.in
@@ -258,6 +258,8 @@ if test "x$enable_python" = "xyes" ; then
AC_MSG_CHECKING(for Python library)
if test -r "$PYTHON_LIB/libpython$PYTHON_VERSION.so"; then
PYTHON_LFLAGS="-L$PYTHON_LIB $PYTHON_LFLAGS"
+ elif test -r "$PYTHON_LIB/libpython$PYTHON_VERSION.a"; then
+ PYTHON_LFLAGS="-L$PYTHON_LIB $PYTHON_LFLAGS"
elif test -r "$PYTHON_SYSPREFIX/lib/libpython$PYTHON_VERSION.so"; then
PYTHON_LFLAGS="-L$PYTHON_SYSPREFIX/lib/ $PYTHON_LFLAGS"
else