From e9fe53980b0ce8480c483774961b93388f3a55fe Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Tue, 29 Sep 2009 23:06:45 -0400 Subject: Fix --runtime-libdir option For stable releases, it needs to take LT_REVISION into account, not hardcode 0. --- gobject/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gobject') diff --git a/gobject/Makefile.am b/gobject/Makefile.am index b3c85b478..593498dd0 100644 --- a/gobject/Makefile.am +++ b/gobject/Makefile.am @@ -279,7 +279,7 @@ install-data-hook: libgobject-gdb.py if HAVE_GLIB_RUNTIME_LIBDIR mkdir -p $(DESTDIR)$(libdir)/$(GLIB_RUNTIME_LIBDIR) mv $(DESTDIR)$(libdir)/libgobject-2.0.so.0 $(DESTDIR)$(libdir)/$(GLIB_RUNTIME_LIBDIR) - mv $(DESTDIR)$(libdir)/libgobject-2.0.so.0.$(LT_CURRENT).0 $(DESTDIR)$(libdir)/$(GLIB_RUNTIME_LIBDIR) + mv $(DESTDIR)$(libdir)/libgobject-2.0.so.0.$(LT_CURRENT).$(LT_REVISION) $(DESTDIR)$(libdir)/$(GLIB_RUNTIME_LIBDIR) rm -f $(DESTDIR)$(libdir)/libgobject-2.0.so - ln -s $(GLIB_RUNTIME_LIBDIR)/libgobject-2.0.so.0.$(LT_CURRENT).0 $(DESTDIR)$(libdir)/libgobject-2.0.so + ln -s $(GLIB_RUNTIME_LIBDIR)/libgobject-2.0.so.0.$(LT_CURRENT).$(LT_REVISION) $(DESTDIR)$(libdir)/libgobject-2.0.so endif -- cgit v1.2.1