summaryrefslogtreecommitdiff
path: root/libwpd
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2012-11-19 14:35:52 +0200
committerTor Lillqvist <tlillqvist@suse.com>2012-11-19 14:36:55 +0200
commit98e9b5dc402171fd370dca8cc8ec9f7b3f3c8684 (patch)
treeb446c809a803198536c53cb4d1e5f49f6e234b18 /libwpd
parent1f8d5eed2a1055438b226838b2480677030619a0 (diff)
Use gb_VISIBILITY_FLAGS
Change-Id: I8ff9bb01bef265af70390ae94b762930689aa1ba
Diffstat (limited to 'libwpd')
-rw-r--r--libwpd/ExternalProject_libwpd.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/libwpd/ExternalProject_libwpd.mk b/libwpd/ExternalProject_libwpd.mk
index b0cb6927e3e9..08d506c0598b 100644
--- a/libwpd/ExternalProject_libwpd.mk
+++ b/libwpd/ExternalProject_libwpd.mk
@@ -37,7 +37,8 @@ else
$(call gb_ExternalProject_get_state_target,libwpd,build) :
cd $(EXTERNAL_WORKDIR) \
- && ./configure \
+ && $(if $(filter TRUE,$(DISABLE_DYNLOADING)),CFLAGS="$(CFLAGS) $(gb_VISIBILITY_FLAGS) $(gb_COMPILEROPTFLAGS)" CXXFLAGS="$(CXXFLAGS) $(gb_VISIBILITY_FLAGS) $(gb_COMPILEROPTFLAGS)") \
+ ./configure \
--with-pic \
--enable-static \
--disable-shared \