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.

This commit is contained in:
Juan Jose Garcia Ripoll 2009-07-13 15:14:12 +02:00
parent 99cdc4dae7
commit 01b27216ac
2 changed files with 4 additions and 4 deletions

4
src/aclocal.m4 vendored
View file

@ -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"
;;

4
src/configure vendored
View file

@ -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"
;;