forked from pool/elfutils
24 lines
900 B
Diff
24 lines
900 B
Diff
---
|
|
libelf/Makefile.am | 5 +++--
|
|
1 file changed, 3 insertions(+), 2 deletions(-)
|
|
|
|
Index: b/libelf/Makefile.am
|
|
===================================================================
|
|
--- a/libelf/Makefile.am
|
|
+++ b/libelf/Makefile.am
|
|
@@ -125,11 +125,12 @@ libelf.so: libelf_pic.a libelf.map
|
|
else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
|
|
fi
|
|
|
|
-install: install-am libelf.so
|
|
+install: install-am libelf.so libelf_pic.a
|
|
$(mkinstalldirs) $(DESTDIR)$(libdir)
|
|
- $(INSTALL_PROGRAM) libelf.so $(DESTDIR)$(libdir)/libelf-$(PACKAGE_VERSION).so
|
|
+ $(INSTALL) -m644 libelf.so $(DESTDIR)$(libdir)/libelf-$(PACKAGE_VERSION).so
|
|
ln -fs libelf-$(PACKAGE_VERSION).so $(DESTDIR)$(libdir)/libelf.so.$(VERSION)
|
|
ln -fs libelf.so.$(VERSION) $(DESTDIR)$(libdir)/libelf.so
|
|
+ $(INSTALL) -m644 libelf_pic.a $(DESTDIR)$(libdir)/libelf_pic.a
|
|
|
|
uninstall: uninstall-am
|
|
rm -f $(DESTDIR)$(libdir)/libelf-$(PACKAGE_VERSION).so
|