[Commits] [SCM] claws branch, master, updated. 3.13.2-152-g3fa7a0c

pawel at claws-mail.org pawel at claws-mail.org
Wed Jun 8 22:26:59 CEST 2016


The branch, master has been updated
       via  3fa7a0c630a66c1c33eab441221b212d775e6027 (commit)
      from  e4df87a57b76344dc14046315fa8969efaace776 (commit)

Summary of changes:
 configure.ac |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


- Log -----------------------------------------------------------------
commit 3fa7a0c630a66c1c33eab441221b212d775e6027
Author: Pawel Pekala <c0rn at o2.pl>
Date:   Wed Jun 8 22:16:13 2016 +0200

    Fix python plugin test for BSD family, dlopen(3) on those
    systems is part of libc library and linking to nonexistent
    libdl will fail.
    
    Tested on FreeBSD 11-Current, Debian 8

diff --git a/configure.ac b/configure.ac
index d9e0732..056815a 100644
--- 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(

-----------------------------------------------------------------------


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list