- 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:
parent
cc5be72253
commit
d957f63421
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=238062
@ -60,6 +60,7 @@ PKGNAMESUFFIX= #empty
|
||||
CONFIGURE_ARGS+=--disable-pthread
|
||||
PKGNAMESUFFIX:= ${PKGNAMESUFFIX}+nopthreads
|
||||
.else
|
||||
LDFLAGS+= ${PTHREAD_LIBS}
|
||||
CONFIGURE_ARGS+=--enable-pthread
|
||||
.endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user