summaryrefslogtreecommitdiffstats
path: root/src/openscenegraph.mk
diff options
context:
space:
mode:
authorSaikrishna Arcot <saiarcot895@gmail.com>2016-06-05 22:35:41 (GMT)
committerSaikrishna Arcot <saiarcot895@gmail.com>2016-06-05 22:35:41 (GMT)
commit3b3af3e8b952eb3aafa14f70e6f69a5121f25f20 (patch)
treecea1a7b31171cfdd123c0de5104d7c616b808790 /src/openscenegraph.mk
parent62c2fcbb154fbf5e899f90f492fb124158a1030c (diff)
downloadmxe-3b3af3e8b952eb3aafa14f70e6f69a5121f25f20.zip
mxe-3b3af3e8b952eb3aafa14f70e6f69a5121f25f20.tar.gz
mxe-3b3af3e8b952eb3aafa14f70e6f69a5121f25f20.tar.bz2
Simplify overrides, and add shared build support to poppler.
Diffstat (limited to 'src/openscenegraph.mk')
-rw-r--r--src/openscenegraph.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/openscenegraph.mk b/src/openscenegraph.mk
index de3fda2..0ebb2e2 100644
--- a/src/openscenegraph.mk
+++ b/src/openscenegraph.mk
@@ -32,6 +32,9 @@ define $(PKG)_BUILD
-DBUILD_OSG_APPLICATIONS=OFF \
-DPOPPLER_HAS_CAIRO_EXITCODE=0 \
-D_OPENTHREADS_ATOMIC_USE_GCC_BUILTINS_EXITCODE=1 \
- -D_OPENTHREADS_ATOMIC_USE_WIN32_INTERLOCKED=1
+ -D_OPENTHREADS_ATOMIC_USE_WIN32_INTERLOCKED=1 \
+ $(if $(filter qtbase,$(PKG)_DEPS), \
+ -DDESIRED_QT_VERSION=4, \
+ -DDESIRED_QT_VERSION=5)
$(MAKE) -C '$(1).build' -j '$(JOBS)' install VERBOSE=1
endef