summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatúš Kukan <matus.kukan@gmail.com>2012-11-03 00:23:14 +0100
committerMatúš Kukan <matus.kukan@gmail.com>2012-11-03 00:24:24 +0100
commit56e40f3c602f7c85f61e5a196e3d820935b0c139 (patch)
tree5d95de2e3026862bd920d184366ef10e881af31d
parentd281a19e1d06856f863788f3344ad42ed1566669 (diff)
librsvg: selectively export symbols we need
Change-Id: I892bea3b3a30ef84937e410b10f37a814213363b
-rw-r--r--librsvg/Library_librsvg-2-2.mk9
1 files changed, 7 insertions, 2 deletions
diff --git a/librsvg/Library_librsvg-2-2.mk b/librsvg/Library_librsvg-2-2.mk
index 2dfb2bc9c6de..66e1d12b30cf 100644
--- a/librsvg/Library_librsvg-2-2.mk
+++ b/librsvg/Library_librsvg-2-2.mk
@@ -24,10 +24,15 @@ $(eval $(call gb_Library_use_externals,librsvg-2-2,\
pixbuf \
))
-# Generate a import library
+ifeq ($(COM),MSC)
$(eval $(call gb_Library_add_ldflags,librsvg-2-2,\
- -EXPORT:GetVersionInfo \
+ /EXPORT:rsvg_init \
+ /EXPORT:rsvg_handle_new_from_data \
+ /EXPORT:rsvg_handle_set_dpi_x_y \
+ /EXPORT:rsvg_handle_get_dimensions \
+ /EXPORT:rsvg_handle_render_cairo \
))
+endif
$(eval $(call gb_Library_add_defs,librsvg-2-2,\
-DHAVE_GSF \