summaryrefslogtreecommitdiff
path: root/gthread
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 /gthread
parenteeaf8c51209cbd11573adf6f6ba0d34f85920b1f (diff)
downloadglib-e9fe53980b0ce8480c483774961b93388f3a55fe.tar.gz
Fix --runtime-libdir option
For stable releases, it needs to take LT_REVISION into account, not hardcode 0.
Diffstat (limited to 'gthread')
-rw-r--r--gthread/Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/gthread/Makefile.am b/gthread/Makefile.am
index a65c15f29..de630e7aa 100644
--- a/gthread/Makefile.am
+++ b/gthread/Makefile.am
@@ -96,7 +96,7 @@ if HAVE_GLIB_RUNTIME_LIBDIR
install-data-hook:
mkdir -p $(DESTDIR)$(libdir)/$(GLIB_RUNTIME_LIBDIR)
mv $(DESTDIR)$(libdir)/libgthread-2.0.so.0 $(DESTDIR)$(libdir)/$(GLIB_RUNTIME_LIBDIR)
- mv $(DESTDIR)$(libdir)/libgthread-2.0.so.0.$(LT_CURRENT).0 $(DESTDIR)$(libdir)/$(GLIB_RUNTIME_LIBDIR)
+ mv $(DESTDIR)$(libdir)/libgthread-2.0.so.0.$(LT_CURRENT).$(LT_REVISION) $(DESTDIR)$(libdir)/$(GLIB_RUNTIME_LIBDIR)
rm -f $(DESTDIR)$(libdir)/libgthread-2.0.so
- ln -s $(GLIB_RUNTIME_LIBDIR)/libgthread-2.0.so.0.$(LT_CURRENT).0 $(DESTDIR)$(libdir)/libgthread-2.0.so
+ ln -s $(GLIB_RUNTIME_LIBDIR)/libgthread-2.0.so.0.$(LT_CURRENT).$(LT_REVISION) $(DESTDIR)$(libdir)/libgthread-2.0.so
endif