Commit 68b7dc75 authored by David Schleef's avatar David Schleef

Link to pthreads library

parent 49ce0d56
......@@ -111,8 +111,12 @@ case "${host_os}" in
;;
*)
AC_DEFINE(HAVE_THREAD_PTHREAD, 1, [Use pthread thread code])
PTHREAD_CFLAGS=
PTHREAD_LIBS=-lpthread
;;
esac
AC_SUBST(PTHREAD_CFLAGS)
AC_SUBST(PTHREAD_LIBS)
AC_ARG_ENABLE(backend,
AC_HELP_STRING([--enable-backend],[sse,mmx,neon,arm,all (default all)]),
......
......@@ -9,7 +9,7 @@ Name: orc-@ORC_MAJORMINOR@
Description: Library of Optimized Inner Loops Runtime Compiler
Version: @VERSION@
Libs: -L${libdir} -lorc-@ORC_MAJORMINOR@
Libs.private: @LIBM@ @LIBRT@
Libs.private: @LIBM@ @LIBRT@ @PTHREAD_LIBS@
Cflags: -I${includedir}
orcc=${toolsdir}/orcc@EXEEXT@
......
......@@ -3,7 +3,7 @@ pkgincludedir = $(includedir)/orc-@ORC_MAJORMINOR@/orc
lib_LTLIBRARIES = liborc-@ORC_MAJORMINOR@.la
liborc_@ORC_MAJORMINOR@_la_LIBADD = $(LIBM) $(LIBRT)
liborc_@ORC_MAJORMINOR@_la_LIBADD = $(LIBM) $(LIBRT) $(PTHREAD_LIBS)
liborc_@ORC_MAJORMINOR@_la_LDFLAGS = \
-version-info $(ORC_LIBVERSION) \
-no-undefined -export-symbols-regex 'orc_'
......
Markdown is supported
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