0003-src-Makefile.in-Really-install-unversioned-solibrary.patch 1.2 KB

12345678910111213141516171819202122232425262728293031
  1. From 445be05fba32c512fd87a0c98b4e9936629ef95e Mon Sep 17 00:00:00 2001
  2. From: Bernd Kuhls <bernd.kuhls@t-online.de>
  3. Date: Sat, 20 Feb 2016 17:59:52 +0100
  4. Subject: [PATCH 1/1] src/Makefile.in: Really install unversioned solibrary
  5. This commit is a follow-up to
  6. https://github.com/telmich/gpm/commit/06b00d53d8bd513ad5d262dc94a016c6fbf2d3aa
  7. which created libgpm.so but failed to include it in the install target.
  8. Patch sent upstream: https://github.com/telmich/gpm/pull/11
  9. Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
  10. ---
  11. src/Makefile.in | 1 +
  12. 1 file changed, 1 insertion(+)
  13. diff --git a/src/Makefile.in b/src/Makefile.in
  14. index 7e9e2ef..bca226f 100644
  15. --- a/src/Makefile.in
  16. +++ b/src/Makefile.in
  17. @@ -115,6 +115,7 @@ install: check
  18. if test "x@SHLIB@" != "x" ; then \
  19. $(INSTALL_DATA) -m 755 lib/libgpm.so.@abi_full@ $(libdir)/libgpm.so.@abi_full@ ; \
  20. cd $(libdir) && $(LN_S) -f libgpm.so.@abi_full@ libgpm.so.@abi_lev@ ; \
  21. + cd $(libdir) && $(LN_S) -f libgpm.so.@abi_full@ libgpm.so ; \
  22. echo "WARNING: We installed a lib, you should now call ldconfig" ; \
  23. echo "f.i.: ldconfig -n -l $(libdir)/libgpm.so.@abi_full@" ; \
  24. echo "Or to update everything just type ldconfig" ; \
  25. --
  26. 2.7.0