summaryrefslogtreecommitdiff
path: root/gdk-pixbuf-loader
diff options
context:
space:
mode:
authorChristian Persch <chpe@gnome.org>2010-06-10 15:15:15 +0200
committerChristian Persch <chpe@gnome.org>2010-06-10 15:15:15 +0200
commit9a7292daf337e4da4eacf62edb45f34c28d11df2 (patch)
treee8ed9d90caf7ad74be21d36e731f52e51fa14971 /gdk-pixbuf-loader
parentf36d8f016173c05c428fffa6625e74e783d6547c (diff)
downloadlibrsvg-9a7292daf337e4da4eacf62edb45f34c28d11df2.tar.gz
Add dual gtk+ capability
Make rsvg parallel-buildable for gtk+-2.0 and gtk+-3.0. Bug #618475.
Diffstat (limited to 'gdk-pixbuf-loader')
-rw-r--r--gdk-pixbuf-loader/Makefile.am9
1 files changed, 4 insertions, 5 deletions
diff --git a/gdk-pixbuf-loader/Makefile.am b/gdk-pixbuf-loader/Makefile.am
index f153fbad..baf1bbe7 100644
--- a/gdk-pixbuf-loader/Makefile.am
+++ b/gdk-pixbuf-loader/Makefile.am
@@ -1,5 +1,4 @@
-
-loaderdir = $(libdir)/gtk-2.0/$(GTK_VERSION)/loaders
+loaderdir = $(libdir)/gtk-$(GTK_API_VERSION)/$(GTK_BINARY_VERSION)/loaders
if PLATFORM_WIN32
no_undefined = -no-undefined
@@ -21,7 +20,7 @@ endif
svg_loader_la_SOURCES = io-svg.c
svg_loader_la_LDFLAGS = -avoid-version -module $(no_undefined)
svg_loader_la_LIBADD = \
- $(top_builddir)/librsvg-2.la \
+ $(top_builddir)/librsvg-@RSVG_API_MAJOR_VERSION@.la \
$(LIBRSVG_LIBS) \
$(LIBGSF_LIBS) $(LIBCROCO_LIBS)
@@ -29,7 +28,7 @@ loader_LTLIBRARIES = $(target_pixbuf_loader)
install-data-hook:
if [ -z "$(DESTDIR)" ] ; then \
- $(mkinstalldirs) $(DESTDIR)$(sysconfdir)/gtk-2.0 ; \
- $(QUERYLOADERS) > $(DESTDIR)$(sysconfdir)/gtk-2.0/gdk-pixbuf.loaders ; \
+ $(mkinstalldirs) $(DESTDIR)$(sysconfdir)/gtk-$(GTK_API_VERSION) ; \
+ $(GDK_PIXBUF_QUERYLOADERS) > $(DESTDIR)$(sysconfdir)/gtk-$(GTK_API_VERSION)/gdk-pixbuf.loaders ; \
fi