summaryrefslogtreecommitdiff
path: root/gmodule
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2009-09-29 23:06:45 -0400
committerMatthias Clasen <mclasen@redhat.com>2009-09-29 23:08:03 -0400
commite9fe53980b0ce8480c483774961b93388f3a55fe (patch)
treeef96ab4fed425563c0459d2c1361654057360b98 /gmodule
parenteeaf8c51209cbd11573adf6f6ba0d34f85920b1f (diff)
Fix --runtime-libdir option
For stable releases, it needs to take LT_REVISION into account, not hardcode 0.
Diffstat (limited to 'gmodule')
-rw-r--r--gmodule/Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/gmodule/Makefile.am b/gmodule/Makefile.am
index f0e63d1ab..93a8473a9 100644
--- a/gmodule/Makefile.am
+++ b/gmodule/Makefile.am
@@ -121,7 +121,7 @@ if HAVE_GLIB_RUNTIME_LIBDIR
install-data-hook:
mkdir -p $(DESTDIR)$(libdir)/$(GLIB_RUNTIME_LIBDIR)
mv $(DESTDIR)$(libdir)/libgmodule-2.0.so.0 $(DESTDIR)$(libdir)/$(GLIB_RUNTIME_LIBDIR)
- mv $(DESTDIR)$(libdir)/libgmodule-2.0.so.0.$(LT_CURRENT).0 $(DESTDIR)$(libdir)/$(GLIB_RUNTIME_LIBDIR)
+ mv $(DESTDIR)$(libdir)/libgmodule-2.0.so.0.$(LT_CURRENT).$(LT_REVISION) $(DESTDIR)$(libdir)/$(GLIB_RUNTIME_LIBDIR)
rm -f $(DESTDIR)$(libdir)/libgmodule-2.0.so
- ln -s $(GLIB_RUNTIME_LIBDIR)/libgmodule-2.0.so.0.$(LT_CURRENT).0 $(DESTDIR)$(libdir)/libgmodule-2.0.so
+ ln -s $(GLIB_RUNTIME_LIBDIR)/libgmodule-2.0.so.0.$(LT_CURRENT).$(LT_REVISION) $(DESTDIR)$(libdir)/libgmodule-2.0.so
endif