From 01b27216acd1ac499d8e2ec076c27fc3d56ea94f Mon Sep 17 00:00:00 2001 From: Juan Jose Garcia Ripoll Date: Mon, 13 Jul 2009 15:14:12 +0200 Subject: [PATCH] Default flags for OpenBSD include -lpthread because they force us to use the multithreaded version of the library and this one does not link in -lpthread. --- src/aclocal.m4 | 4 ++-- src/configure | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/aclocal.m4 b/src/aclocal.m4 index e6aa08b71..32830f95a 100644 --- a/src/aclocal.m4 +++ b/src/aclocal.m4 @@ -268,11 +268,11 @@ case "${host_os}" in openbsd*) thehost='openbsd' THREAD_CFLAGS='' - THREAD_LIBS='-lpthread' + THREAD_LIBS='' SHARED_LDFLAGS="-shared ${LDFLAGS}" BUNDLE_LDFLAGS="-shared ${LDFLAGS}" LDRPATH="-Wl,--rpath,~A" - clibs="" + clibs="-lpthread -lm" SONAME="${SHAREDPREFIX}ecl.${SHAREDEXT}.SOVERSION" SONAME_LDFLAGS="-Wl,-soname,SONAME" ;; diff --git a/src/configure b/src/configure index b019e167a..c3fb7b798 100755 --- a/src/configure +++ b/src/configure @@ -4433,11 +4433,11 @@ case "${host_os}" in openbsd*) thehost='openbsd' THREAD_CFLAGS='' - THREAD_LIBS='-lpthread' + THREAD_LIBS='' SHARED_LDFLAGS="-shared ${LDFLAGS}" BUNDLE_LDFLAGS="-shared ${LDFLAGS}" LDRPATH="-Wl,--rpath,~A" - clibs="" + clibs="-lpthread -lm" SONAME="${SHAREDPREFIX}ecl.${SHAREDEXT}.SOVERSION" SONAME_LDFLAGS="-Wl,-soname,SONAME" ;;