summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSaikrishna Arcot <saiarcot895@gmail.com>2016-06-07 22:34:26 (GMT)
committerSaikrishna Arcot <saiarcot895@gmail.com>2016-06-07 22:34:26 (GMT)
commit4a2dfcebb211c82523612e14f25acfde55b7c7c3 (patch)
tree1ec25fe9b343748a717a77e1340f72404f484c70 /src
parent8b3b780330bc194ace5eabb2d68ade22b37925e1 (diff)
downloadmxe-4a2dfcebb211c82523612e14f25acfde55b7c7c3.zip
mxe-4a2dfcebb211c82523612e14f25acfde55b7c7c3.tar.gz
mxe-4a2dfcebb211c82523612e14f25acfde55b7c7c3.tar.bz2
Get value of variable instead of using the variable name itself.
Diffstat (limited to 'src')
-rw-r--r--src/openscenegraph.mk2
-rw-r--r--src/poppler.mk2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/openscenegraph.mk b/src/openscenegraph.mk
index 0ebb2e2..2f31a8e 100644
--- a/src/openscenegraph.mk
+++ b/src/openscenegraph.mk
@@ -33,7 +33,7 @@ define $(PKG)_BUILD
-DPOPPLER_HAS_CAIRO_EXITCODE=0 \
-D_OPENTHREADS_ATOMIC_USE_GCC_BUILTINS_EXITCODE=1 \
-D_OPENTHREADS_ATOMIC_USE_WIN32_INTERLOCKED=1 \
- $(if $(filter qtbase,$(PKG)_DEPS), \
+ $(if $(filter qtbase,$($(PKG)_DEPS)), \
-DDESIRED_QT_VERSION=4, \
-DDESIRED_QT_VERSION=5)
$(MAKE) -C '$(1).build' -j '$(JOBS)' install VERBOSE=1
diff --git a/src/poppler.mk b/src/poppler.mk
index 305b40f..1a5dbca 100644
--- a/src/poppler.mk
+++ b/src/poppler.mk
@@ -27,7 +27,7 @@ define $(PKG)_BUILD
$(MXE_CONFIGURE_OPTS) \
--disable-silent-rules \
--enable-xpdf-headers \
- $(if $(filter qtbase,$(PKG)_DEPS), \
+ $(if $(filter qtbase,$($(PKG)_DEPS)), \
--enable-poppler-qt4 \
--disable-poppler-qt5, \
--disable-poppler-qt4 \