diff --git a/WHATS_NEW b/WHATS_NEW index 313965d51..f216b2113 100644 --- a/WHATS_NEW +++ b/WHATS_NEW @@ -2,6 +2,7 @@ Version 2.02.64 - ================================= Added awk script relpath.awk to calculate relative paths. Fix double DESTDIR usage for infodir and mandir. + Install symbolic .so links with relative paths between usrlibdir and libdir. Version 2.02.63 - 14th April 2010 ================================= diff --git a/make.tmpl.in b/make.tmpl.in index 9d60e8bc3..5e7f44fd0 100644 --- a/make.tmpl.in +++ b/make.tmpl.in @@ -62,6 +62,8 @@ mandir = $(datarootdir)/man localedir = $(DESTDIR)@LOCALEDIR@ staticdir = $(DESTDIR)@STATICDIR@ udevdir = $(DESTDIR)@udevdir@ +USRLIB_RELPATH = $(shell echo $(abspath $(usrlibdir) $(libdir)) | \ + awk -f $(top_srcdir)/scripts/relpath.awk) # Setup vpath search paths for some suffixes vpath %.c $(srcdir) @@ -301,7 +303,7 @@ $(LIB_SHARED): $(LIB_SHARED).$(LIB_VERSION) install_lib_shared: $(LIB_SHARED) $(INSTALL_PROGRAM) -D $< $(libdir)/$(