summaryrefslogtreecommitdiff
path: root/Makethird
diff options
context:
space:
mode:
Diffstat (limited to 'Makethird')
-rw-r--r--Makethird10
1 files changed, 6 insertions, 4 deletions
diff --git a/Makethird b/Makethird
index 7744072d..a226249c 100644
--- a/Makethird
+++ b/Makethird
@@ -763,7 +763,9 @@ endif
# --- pthread ---
-#ifeq "$(HAVE_PTHREAD)" "yes"
-PTHREAD_CFLAGS := $(SYS_PTHREAD_CFLAGS)
-PTHREAD_LIBS := $(SYS_PTHREAD_LIBS)
-#endif
+ifneq "$(threading)" "no"
+ifeq "$(HAVE_PTHREAD)" "yes"
+THREADING_CFLAGS := $(SYS_PTHREAD_CFLAGS) -DHAVE_PTHREAD
+THREADING_LIBS := $(SYS_PTHREAD_LIBS)
+endif
+endif