diff options
author | Thomas Schwinge <thomas@schwinge.name> | 2011-10-20 15:47:00 +0200 |
---|---|---|
committer | Thomas Schwinge <thomas@schwinge.name> | 2011-10-20 19:20:21 +0200 |
commit | 3aa7bb4849945c7480873567767db3face604260 (patch) | |
tree | 632df4d2956bba8963b9b644a10059da7ba60ce3 | |
parent | 127352671f6dca8572a8d310b162ccff32463ec5 (diff) |
Populate a [build]/lib directory with links to all shared libraries.
* Makeconf (libs): Add dependency to create these links.
-rw-r--r-- | Makeconf | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -273,6 +273,15 @@ $(libdir)/$(libname).so: $(libdir)/$(libname).so.$(hurd-version) $(addprefix $(includedir)/$(installhdrsubdir)/,$(installhdrs)): $(includedir)/$(installhdrsubdir)/%: % $(INSTALL_DATA) $< $@ +# Arrange to have the shared libraries available locally in one single +# directory. This is not used by the build system itself, but is just for easy +# testing. +local-libdir = lib +../$(local-libdir)/$(libname).so.$(hurd-version): $(libname).so.$(hurd-version) + @test -d $(@D)/ || $(MKINSTALLDIRS) $(@D) + ln -sf ../$(dir)/$< $@ +libs: ../$(local-libdir)/$(libname).so.$(hurd-version) + endif # Provide default. |