For as-yet undetermined reasons, cmake ends up undefining pthread_create
support on Solaris even though the test succeeds. Forcibly define it. Fixes Solaris build.
This commit is contained in:
parent
6f4cfd0bc6
commit
9d2e74ed64
1 changed files with 2 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.21 2012/09/15 10:06:32 obache Exp $
|
||||
# $NetBSD: Makefile,v 1.22 2012/09/18 15:53:14 jperkin Exp $
|
||||
|
||||
DISTNAME= strigi-0.6.4
|
||||
PKGREVISION= 14
|
||||
|
@ -27,6 +27,7 @@ RT_LIB_SCHED= -lrt
|
|||
RT_LIB_SCHED= # empty
|
||||
.endif
|
||||
|
||||
CFLAGS.SunOS+= -DCMAKE_HAVE_PTHREAD_CREATE
|
||||
LDFLAGS.SunOS+= -mimpure-text -lrt
|
||||
|
||||
CMAKE_ARGS+= -DENABLE_CPPUNIT=OFF
|
||||
|
|
Loading…
Reference in a new issue