SHA256
1
0
forked from pool/lua54

Accepting request 949334 from home:gmbr3:Lua

- Ensure shared library is installed with executable bit set

OBS-URL: https://build.opensuse.org/request/show/949334
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua54?expand=0&rev=49
This commit is contained in:
Callum Farmer 2022-01-26 19:17:26 +00:00 committed by Git OBS Bridge
parent affd207394
commit a66c69f6b1
2 changed files with 7 additions and 3 deletions

View File

@ -4,7 +4,7 @@ Subject: build system
--- a/Makefile
+++ b/Makefile
@@ -10,19 +12,20 @@
@@ -10,19 +12,19 @@
# so take care if INSTALL_TOP is not an absolute path. See the local target.
# You may want to make INSTALL_LMOD and INSTALL_CMOD consistent with
# LUA_ROOT, LUA_LDIR, and LUA_CDIR in luaconf.h.
@ -27,7 +27,6 @@ Subject: build system
-INSTALL_EXEC= $(INSTALL) -m 0755
+INSTALL_EXEC= $(LIBTOOL) --mode=install install -m 0755
INSTALL_DATA= $(INSTALL) -m 0644
+INSTALL_LIBTOOL= $(LIBTOOL) --mode=install install -m 0644
#
# If you don't have "install" you can use "cp" instead.
# INSTALL= cp -p
@ -54,7 +53,7 @@ Subject: build system
install: dummy
cd src && $(MKDIR) $(INSTALL_BIN) $(INSTALL_INC) $(INSTALL_LIB) $(INSTALL_MAN) $(INSTALL_LMOD) $(INSTALL_CMOD)
+ cd src && $(INSTALL_LIBTOOL) $(TO_LIB) $(INSTALL_LIB)
+ cd src && $(INSTALL_EXEC) $(TO_LIB) $(INSTALL_LIB)
cd src && $(INSTALL_EXEC) $(TO_BIN) $(INSTALL_BIN)
cd src && $(INSTALL_DATA) $(TO_INC) $(INSTALL_INC)
- cd src && $(INSTALL_DATA) $(TO_LIB) $(INSTALL_LIB)

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Jan 26 19:15:13 UTC 2022 - Callum Farmer <gmbr3@opensuse.org>
- Ensure shared library is installed with executable bit set
-------------------------------------------------------------------
Wed Jan 26 18:35:13 UTC 2022 - Callum Farmer <gmbr3@opensuse.org>