summaryrefslogtreecommitdiff
path: root/lang/python+ipv6/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lang/python+ipv6/Makefile')
-rw-r--r--lang/python+ipv6/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/lang/python+ipv6/Makefile b/lang/python+ipv6/Makefile
index c54ee904ac72..517ca80b00bf 100644
--- a/lang/python+ipv6/Makefile
+++ b/lang/python+ipv6/Makefile
@@ -43,8 +43,8 @@ SETUP_FILE= Setup
LIBC_R!= /sbin/ldconfig -r | grep c_r || true
.if (${LIBC_R} != "") && !defined(WITHOUT_THREADS)
CONFIGURE_ARGS+= --with-thread
-CFLAGS+= -D_THREAD_SAFE
-CONFIGURE_ENV+= LDFLAGS="-pthread ${LDFLAGS}"
+CFLAGS+= ${PTHREAD_CFLAGS}
+CONFIGURE_ENV+= LDFLAGS="${PTHREAD_LIBS} ${LDFLAGS}"
.endif
#