summaryrefslogtreecommitdiff
path: root/external/libwpg/ExternalProject_libwpg.mk
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-06-08 12:23:20 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-06-08 12:26:14 +0200
commit670f78ee3c89434d965970f6220eff811bc8b7ab (patch)
tree90ec33f68189e303c320161bd4ddbb668976b02b /external/libwpg/ExternalProject_libwpg.mk
parent15c04e1f567e50aff850a65996c65e6465497710 (diff)
Fix Mac OS X install names of external libwpd/libwpg
Change-Id: I25eae3874c7ca4cf4e23673604a1f77e1fa15451 (cherry picked from commit 0329dbd31011db8a8fe4ba806a624916e8c7249b)
Diffstat (limited to 'external/libwpg/ExternalProject_libwpg.mk')
-rw-r--r--external/libwpg/ExternalProject_libwpg.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/external/libwpg/ExternalProject_libwpg.mk b/external/libwpg/ExternalProject_libwpg.mk
index fab201c3df4a..22ed09aa1de9 100644
--- a/external/libwpg/ExternalProject_libwpg.mk
+++ b/external/libwpg/ExternalProject_libwpg.mk
@@ -32,9 +32,14 @@ $(call gb_ExternalProject_get_state_target,libwpg,build) :
--disable-tools \
--disable-debug \
--disable-werror \
+ $(if $(filter MACOSX,$(OS)),--prefix=/@.__________________________________________________OOO) \
$(if $(VERBOSE)$(verbose),--disable-silent-rules,--enable-silent-rules) \
$(if $(CROSS_COMPILING),--build=$(BUILD_PLATFORM) --host=$(HOST_PLATFORM)) \
&& $(MAKE) \
+ $(if $(filter MACOSX,$(OS)),\
+ && $(PERL) $(SRCDIR)/solenv/bin/macosx-change-install-names.pl shl OOO \
+ $(gb_Package_SOURCEDIR_libwpg)/src/lib/.libs/libwpg-0.3.3.dylib \
+ ) \
)
# vim: set noet sw=4 ts=4: