projects
/
claws.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e4df87a
)
Fix python plugin test for BSD family, dlopen(3) on those
author
Pawel Pekala
<c0rn@o2.pl>
Wed, 8 Jun 2016 20:16:13 +0000
(22:16 +0200)
committer
Pawel Pekala
<c0rn@o2.pl>
Wed, 8 Jun 2016 20:16:13 +0000
(22:16 +0200)
systems is part of libc library and linking to nonexistent
libdl will fail.
Tested on FreeBSD 11-Current, Debian 8
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index d9e07327912964a43131946758dbf2de3720a7cc..056815aa1e39ee5f897decac69dec718a4a0967e 100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-1233,7
+1233,7
@@
AM_PATH_PYTHON([2.5], [
if test x"$platform_win32" = xno; then
# libpython.so
PYTHON_SHARED_LIB="libpython${PYTHON_VERSION}.so"
- LIBS="-ldl"
+ AC_CHECK_LIB(dl, dlopen, [LIBS="-ldl"])
AC_MSG_CHECKING([whether to dlopen $PYTHON_SHARED_LIB works])
AC_RUN_IFELSE(
[AC_LANG_PROGRAM(