Commit b585bcf5 authored by Ferenc Wágner's avatar Ferenc Wágner
Browse files

Use PTHREAD_LIBS explicitly

parent 3e78c1c4
......@@ -106,7 +106,6 @@ else
AC_DEFINE(HAVE_THREADING,1,[define if threading is enabled])
AC_DEFINE(USE_PTHREADS,1,[define if pthread library is available])
AC_DEFINE(_PTHREADS,1,[define for STL if pthread library is used])
LIBS="$PTHREAD_LIBS $LIBS"
AM_CFLAGS="$PTHREAD_CFLAGS $AM_CFLAGS"
AM_CXXFLAGS="$PTHREAD_CFLAGS $AM_CXXFLAGS"
CC="$PTHREAD_CC"
......
......@@ -49,3 +49,4 @@ liblog4shib_la_SOURCES = \
AbortAppender.cpp
liblog4shib_la_LDFLAGS = -version-info @LT_VERSION@
liblog4shib_la_LIBADD = $(PTHREAD_LIBS)
......@@ -9,7 +9,7 @@ check_DATA = log4shib.init log4shib.properties testProperties.properties \
EXTRA_DIST = $(check_DATA) testNTEventLog.cpp
AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/src
LDADD = ../src/liblog4shib.la
LDADD = ../src/liblog4shib.la $(PTHREAD_LIBS)
AM_DEFAULT_SOURCE_EXT = .cpp
sscpp706_CPPFLAGS = $(AM_CPPFLAGS) -DDATADIR=\"$(srcdir)\"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment