summaryrefslogtreecommitdiff
path: root/external
diff options
context:
space:
mode:
authorMatúš Kukan <matus.kukan@collabora.com>2014-04-03 13:53:50 +0200
committerMatúš Kukan <matus.kukan@collabora.com>2014-04-03 13:53:50 +0200
commitc54846f81ec270fbbd9ef1dfc5df1075bc5cc58f (patch)
tree9504b46ba8b45f732c12dac43f6204435526d79f /external
parent18df3732dee6d6d6215ddfc2f8f999a65bd14d6b (diff)
serf: SYSTEM_FOO is YES/NO here
Change-Id: Id310f0f995998562b1217a3081bbfb0b3c545ac7
Diffstat (limited to 'external')
-rw-r--r--external/serf/ExternalProject_serf.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/external/serf/ExternalProject_serf.mk b/external/serf/ExternalProject_serf.mk
index afa2018a73fa..804d0bda335a 100644
--- a/external/serf/ExternalProject_serf.mk
+++ b/external/serf/ExternalProject_serf.mk
@@ -37,8 +37,8 @@ $(call gb_ExternalProject_get_state_target,serf,build):
./configure SERF_LIBS= \
--enable-option-checking=fatal \
$(if $(filter YES,$(CROSS_COMPILING)),--build=$(BUILD_PLATFORM) --host=$(HOST_PLATFORM))\
- $(if $(SYSTEM_APR),,--with-apr=$(call gb_UnpackedTarball_get_dir,apr)/apr-1-config) \
- $(if $(SYSTEM_APR),,--with-apr-util=$(call gb_UnpackedTarball_get_dir,apr_util)/apu-1-config) \
+ $(if $(filter YES,$(SYSTEM_APR)),,--with-apr=$(call gb_UnpackedTarball_get_dir,apr)/apr-1-config) \
+ $(if $(filter YES,$(SYSTEM_APR)),,--with-apr-util=$(call gb_UnpackedTarball_get_dir,apr_util)/apu-1-config) \
$(if $(SYSTEM_OPENSSL),,--with-openssl=$(call gb_UnpackedTarball_get_dir,openssl)) \
&& $(MAKE) libserf-1.la \
)