mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-24 10:57:53 +02:00
Bug 586675 – Runtime library location
Introduce an option to specify the runtime location for libraries via a relative path to libdir. Signed-off-by: David Zeuthen <davidz@redhat.com>
This commit is contained in:
@@ -92,3 +92,11 @@ install-data-local: install-ms-lib install-def-file
|
||||
|
||||
uninstall-local: uninstall-ms-lib uninstall-def-file
|
||||
|
||||
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)
|
||||
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
|
||||
endif
|
||||
|
Reference in New Issue
Block a user