diff options
author | Matúš Kukan <matus.kukan@collabora.com> | 2014-04-02 15:31:38 +0200 |
---|---|---|
committer | Matúš Kukan <matus.kukan@collabora.com> | 2014-04-02 15:32:04 +0200 |
commit | 463952bff239c53862430e865b1b01f580205af0 (patch) | |
tree | b919fbbf73b824e48f458207a704fe358edc40fd /external/apr | |
parent | aa16ca73260681b19f0be8a58be95ed454580f7f (diff) |
apr external: add --with-pic
Change-Id: Ica3b1207a2847917d82b3c82d14479fb58a7aaa2
Diffstat (limited to 'external/apr')
-rw-r--r-- | external/apr/ExternalProject_apr.mk | 1 | ||||
-rw-r--r-- | external/apr/ExternalProject_apr_util.mk | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/external/apr/ExternalProject_apr.mk b/external/apr/ExternalProject_apr.mk index 4848ae8ce1a7..093cdde71a5f 100644 --- a/external/apr/ExternalProject_apr.mk +++ b/external/apr/ExternalProject_apr.mk @@ -28,6 +28,7 @@ $(call gb_ExternalProject_get_state_target,apr,build): +$(call gb_ExternalProject_run,build,\ ./configure \ --enable-static --disable-shared \ + --with-pic \ $(if $(filter YES,$(CROSS_COMPILING)),--build=$(BUILD_PLATFORM) --host=$(HOST_PLATFORM))\ && $(MAKE) libapr-1.la \ ) diff --git a/external/apr/ExternalProject_apr_util.mk b/external/apr/ExternalProject_apr_util.mk index ba0f7cbde419..4de76ba4c43a 100644 --- a/external/apr/ExternalProject_apr_util.mk +++ b/external/apr/ExternalProject_apr_util.mk @@ -30,6 +30,7 @@ $(call gb_ExternalProject_get_state_target,apr_util,build): +$(call gb_ExternalProject_run,build,\ ./configure \ --enable-static --disable-shared \ + --with-pic \ $(if $(filter YES,$(CROSS_COMPILING)),--build=$(BUILD_PLATFORM) --host=$(HOST_PLATFORM))\ --with-apr=$(call gb_UnpackedTarball_get_dir,apr)/apr-1-config \ && $(MAKE) libaprutil-1.la \ |