diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2017-03-07 15:40:09 +0100 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2017-03-15 09:47:01 +0100 |
commit | 3966550ae8198eef2050c24d87dd7a89d1410ded (patch) | |
tree | 8fe50f9a6bf4666cf8cf4a16447956e357ecf01e /Makethird | |
parent | 0f5f5642a01dc7e8b9bc421ea8712c31e4c43429 (diff) | |
download | mupdf-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-- | Makethird | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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 |