Get value of variable instead of using the variable name itself.

This commit is contained in:
Saikrishna Arcot 2016-06-07 17:34:26 -05:00
parent 8b3b780330
commit 4a2dfcebb2
No known key found for this signature in database
GPG Key ID: 203B47C2C66B784B
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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 \