summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2017-02-07 03:36:23 (GMT)
committerTony Theodore <tonyt@logyst.com>2017-02-07 03:52:48 (GMT)
commitb8850b2bd0dcedf15c1982b320e4b90139e86492 (patch)
treea0434d9790105d4c33c7f87a2f5bcf2cd8a6a1b5 /Makefile
parent5da81682638fb00f9250c442ecc413b2984dce4e (diff)
downloadmxe-b8850b2bd0dcedf15c1982b320e4b90139e86492.zip
mxe-b8850b2bd0dcedf15c1982b320e4b90139e86492.tar.gz
mxe-b8850b2bd0dcedf15c1982b320e4b90139e86492.tar.bz2
Makefile: add [POSIX | WIN32]_THREADS variable
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index ed91454..6fb880e 100644
--- a/Makefile
+++ b/Makefile
@@ -570,6 +570,7 @@ build-only-$(1)_$(3): PKG = $(1)
build-only-$(1)_$(3): TARGET = $(3)
build-only-$(1)_$(3): BUILD_$(if $(findstring shared,$(3)),SHARED,STATIC) = TRUE
build-only-$(1)_$(3): BUILD_$(if $(call seq,$(TARGET),$(BUILD)),NATIVE,CROSS) = TRUE
+build-only-$(1)_$(3): $(if $(findstring posix,$(TARGET)),POSIX,WIN32)_THREADS = TRUE
build-only-$(1)_$(3): LIB_SUFFIX = $(if $(findstring shared,$(3)),dll,a)
build-only-$(1)_$(3): BITS = $(if $(findstring x86_64,$(3)),64,32)
build-only-$(1)_$(3): BUILD_TYPE = $(if $(findstring debug,$(3) $($(1)_CONFIGURE_OPTS)),debug,release)