From 4ca0e60800b90ba4a6de31beabeee8ccce611649 Mon Sep 17 00:00:00 2001 From: Maxim Sobolev Date: Thu, 29 Mar 2001 16:35:19 +0000 Subject: -pthread --> ${PTHREAD_LIBS} -D_THREAD_SAFE --> ${PTHREAD_CFLAGS} Note: my first intention was to test this out on bento/beta, but per ade's requiest I opted to do it quickly. --- lang/python22/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lang/python22') diff --git a/lang/python22/Makefile b/lang/python22/Makefile index 06e31e8b738e..3a8b9a65514d 100644 --- a/lang/python22/Makefile +++ b/lang/python22/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 -- cgit v1.2.3