diff options
Diffstat (limited to 'lang/python-devel')
-rw-r--r-- | lang/python-devel/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lang/python-devel/Makefile b/lang/python-devel/Makefile index 06e31e8..3a8b9a6 100644 --- a/lang/python-devel/Makefile +++ b/lang/python-devel/Makefile @@ -39,8 +39,8 @@ SETUP_FILE= Setup LIBC_R!= /sbin/ldconfig -r | grep c_r || true .if (${LIBC_R} != "") && !defined(WITHOUT_THREADS) CONFIGURE_ARGS+= --with-threads -CFLAGS+= -D_THREAD_SAFE -CONFIGURE_ENV+= LDFLAGS="-pthread ${LDFLAGS}" +CFLAGS+= ${PTHREAD_CFLAGS} +CONFIGURE_ENV+= LDFLAGS="${PTHREAD_LIBS} ${LDFLAGS}" .else CONFIGURE_ARGS+= --without-threads .endif |