diff options
author | Matthias Clasen <mclasen@redhat.com> | 2009-09-29 23:06:45 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2009-09-29 23:08:03 -0400 |
commit | e9fe53980b0ce8480c483774961b93388f3a55fe (patch) | |
tree | ef96ab4fed425563c0459d2c1361654057360b98 /gmodule/Makefile.am | |
parent | eeaf8c51209cbd11573adf6f6ba0d34f85920b1f (diff) |
Fix --runtime-libdir option
For stable releases, it needs to take LT_REVISION into account, not
hardcode 0.
Diffstat (limited to 'gmodule/Makefile.am')
-rw-r--r-- | gmodule/Makefile.am | 4 |
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 |