summaryrefslogtreecommitdiff
path: root/external
diff options
context:
space:
mode:
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 \
)