openocd: avoid documentation rebuild to fix build issues
[buildroot-gz.git] / package / luajit / 0003-install-so.patch
blob5929595abe37757d5e05df26b40b7ef4502dcb49
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
4 by creating two symbolic links:
5 libluajit-5.1.so -> libluajit-5.1.so.2.0.3
6 libluajit-5.1.so.2 -> libluajit-5.1.so.2.0.3
8 Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
10 Index: b/Makefile
11 ===================================================================
12 --- a/Makefile
13 +++ b/Makefile
14 @@ -55,7 +55,7 @@
15 INSTALL_STATIC= $(INSTALL_LIB)/$(INSTALL_ANAME)
16 INSTALL_DYN= $(INSTALL_LIB)/$(INSTALL_SONAME)
17 INSTALL_SHORT1= $(INSTALL_LIB)/$(INSTALL_SOSHORT)
18 -INSTALL_SHORT2= $(INSTALL_LIB)/$(INSTALL_SOSHORT)
19 +INSTALL_SHORT2= $(INSTALL_LIB)/$(INSTALL_SOSHORT).$(MAJVER)
20 INSTALL_T= $(INSTALL_BIN)/$(INSTALL_TNAME)
21 INSTALL_PC= $(INSTALL_PKGCONFIG)/$(INSTALL_PCNAME)