summaryrefslogtreecommitdiffstats
path: root/src/openthreads.mk
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2016-01-11 05:34:11 (GMT)
committerTony Theodore <tonyt@logyst.com>2016-01-12 08:41:41 (GMT)
commita3124bf7a78cdcb491a604fee0d60266c1628e76 (patch)
treeac53c8ee721c7ed1397f66bd0f0624276e1dc357 /src/openthreads.mk
parentf50c9c5263a5650860d4a2ff8ff406133f39a000 (diff)
downloadmxe-a3124bf7a78cdcb491a604fee0d60266c1628e76.zip
mxe-a3124bf7a78cdcb491a604fee0d60266c1628e76.tar.gz
mxe-a3124bf7a78cdcb491a604fee0d60266c1628e76.tar.bz2
openthreads: build standalone and fix static build
Diffstat (limited to 'src/openthreads.mk')
-rw-r--r--src/openthreads.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/openthreads.mk b/src/openthreads.mk
index 167cec6..94ed993 100644
--- a/src/openthreads.mk
+++ b/src/openthreads.mk
@@ -17,9 +17,10 @@ endef
define $(PKG)_BUILD
mkdir '$(1).build'
cd '$(1).build' && '$(TARGET)-cmake' \
- -DBUILD_SHARED_LIBS=$(CMAKE_SHARED_BOOL) \
+ -DDYNAMIC_OPENTHREADS=$(CMAKE_SHARED_BOOL) \
-DCMAKE_VERBOSE_MAKEFILE=TRUE \
- -DPKG_CONFIG_EXECUTABLE='$(PREFIX)/bin/$(TARGET)-pkg-config' \
+ -DOPENTHREADS_STANDALONE=TRUE \
+ -DOSG_USE_QT=FALSE \
-D_OPENTHREADS_ATOMIC_USE_GCC_BUILTINS_EXITCODE=1 \
-D_OPENTHREADS_ATOMIC_USE_WIN32_INTERLOCKED=1 \
'$(1)'