0003-install-so.patch 842 B

12345678910111213141516171819202122
  1. fix the following runtime error :
  2. luajit: error while loading shared libraries: libluajit-5.1.so.2: cannot open shared object file: No such file or directory
  3. by creating two symbolic links:
  4. libluajit-5.1.so -> libluajit-5.1.so.2.0.3
  5. libluajit-5.1.so.2 -> libluajit-5.1.so.2.0.3
  6. Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
  7. Index: b/Makefile
  8. ===================================================================
  9. --- a/Makefile
  10. +++ b/Makefile
  11. @@ -55,7 +55,7 @@
  12. INSTALL_STATIC= $(INSTALL_LIB)/$(INSTALL_ANAME)
  13. INSTALL_DYN= $(INSTALL_LIB)/$(INSTALL_SONAME)
  14. INSTALL_SHORT1= $(INSTALL_LIB)/$(INSTALL_SOSHORT)
  15. -INSTALL_SHORT2= $(INSTALL_LIB)/$(INSTALL_SOSHORT)
  16. +INSTALL_SHORT2= $(INSTALL_LIB)/$(INSTALL_SOSHORT).$(MAJVER)
  17. INSTALL_T= $(INSTALL_BIN)/$(INSTALL_TNAME)
  18. INSTALL_PC= $(INSTALL_PKGCONFIG)/$(INSTALL_PCNAME)