- Add ${PTHREAD_LIBS} to LDFLAGS in threaded build. This fixes the issue

when pthread libraries don't show up in Config::CONFIG["LIBS"] in some
  cases.

Reported by:	dinoex
This commit is contained in:
Stanislav Sedov 2009-07-19 16:42:09 +00:00
parent cc5be72253
commit d957f63421
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=238062

View File

@ -60,6 +60,7 @@ PKGNAMESUFFIX= #empty
CONFIGURE_ARGS+=--disable-pthread
PKGNAMESUFFIX:= ${PKGNAMESUFFIX}+nopthreads
.else
LDFLAGS+= ${PTHREAD_LIBS}
CONFIGURE_ARGS+=--enable-pthread
.endif