diff options
author | Tor Lillqvist <tml@collabora.com> | 2015-05-21 01:18:11 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2015-05-21 01:18:42 +0300 |
commit | 33cf177f6b26a117dac0da4940afd0b2eb03153c (patch) | |
tree | 7f84b6096296e38287848a5db6a3a4107c9c23dc /external | |
parent | 27384cdf7df20d6bc46e5d028f27be41b49b0f02 (diff) |
Use --disable-shared if DISABLE_DYNLOADING
Change-Id: I77f8890ed6d03f02eb8c12c5e034d119bc85addc
Diffstat (limited to 'external')
-rw-r--r-- | external/libetonyek/ExternalProject_libetonyek.mk | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/external/libetonyek/ExternalProject_libetonyek.mk b/external/libetonyek/ExternalProject_libetonyek.mk index acfc76d5f659..23cc2f184537 100644 --- a/external/libetonyek/ExternalProject_libetonyek.mk +++ b/external/libetonyek/ExternalProject_libetonyek.mk @@ -28,8 +28,11 @@ $(call gb_ExternalProject_get_state_target,libetonyek,build) : export PKG_CONFIG="" \ && MAKE=$(MAKE) ./configure \ --with-pic \ - --enable-shared \ - --disable-static \ + $(if $(DISABLE_DYNLOADING), \ + --enable-static --disable-shared \ + , \ + --enable-shared --disable-static \ + ) \ --without-docs \ $(if $(ENABLE_DEBUG),--enable-debug,--disable-debug) \ --disable-werror \ |