diff options
-rw-r--r-- | external/libodfgen/ExternalProject_libodfgen.mk | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/external/libodfgen/ExternalProject_libodfgen.mk b/external/libodfgen/ExternalProject_libodfgen.mk index c84eb751e271..263e60dfc7a3 100644 --- a/external/libodfgen/ExternalProject_libodfgen.mk +++ b/external/libodfgen/ExternalProject_libodfgen.mk @@ -27,8 +27,11 @@ $(call gb_ExternalProject_get_state_target,libodfgen,build) : export PKG_CONFIG="" \ && ./configure \ --with-pic \ - $(if $(DISABLE_DYNLOADING),,--enable-shared) \ - --disable-static \ + $(if $(DISABLE_DYNLOADING), \ + --enable-static --disable-shared \ + , \ + --enable-shared --disable-static \ + ) \ --disable-debug \ --disable-werror \ --disable-weffc \ |