summaryrefslogtreecommitdiff
path: root/Makethird
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2017-03-07 15:40:09 +0100
committerTor Andersson <tor.andersson@artifex.com>2017-03-15 09:47:01 +0100
commit3966550ae8198eef2050c24d87dd7a89d1410ded (patch)
tree8fe50f9a6bf4666cf8cf4a16447956e357ecf01e /Makethird
parent0f5f5642a01dc7e8b9bc421ea8712c31e4c43429 (diff)
downloadmupdf-3966550ae8198eef2050c24d87dd7a89d1410ded.tar.xz
Only include pthread library when needed.
Rename HAVE_PTHREADS to HAVE_PTHREAD to match naming of other defines, where the macro is named after the library that is linked.
Diffstat (limited to 'Makethird')
-rw-r--r--Makethird7
1 files changed, 7 insertions, 0 deletions
diff --git a/Makethird b/Makethird
index 92de4085..e9a2e0e8 100644
--- a/Makethird
+++ b/Makethird
@@ -714,3 +714,10 @@ ifeq "$(HAVE_LIBCRYPTO)" "yes"
LIBCRYPTO_CFLAGS := $(SYS_LIBCRYPTO_CFLAGS)
LIBCRYPTO_LIBS := $(SYS_LIBCRYPTO_LIBS)
endif
+
+# --- pthread ---
+
+#ifeq "$(HAVE_PTHREAD)" "yes"
+PTHREAD_CFLAGS := $(SYS_PTHREAD_CFLAGS)
+PTHREAD_LIBS := $(SYS_PTHREAD_LIBS)
+#endif