|
|
88fbaf |
From 52160df30b3e785d0904ca4380b298e39eded5bb Mon Sep 17 00:00:00 2001
|
|
|
88fbaf |
From: Jeremy Linton <jeremy.linton@arm.com>
|
|
|
88fbaf |
Date: Mon, 6 Jul 2020 18:28:43 -0500
|
|
|
88fbaf |
Subject: [PATCH] opencsd: build: shared libraries should have +x set
|
|
|
88fbaf |
|
|
|
88fbaf |
The default install target is installing the .so files
|
|
|
88fbaf |
with owner rw, and r for group and owner. This causes ldd
|
|
|
88fbaf |
and various packaging utilities to misunderstand that
|
|
|
88fbaf |
this is a shared library.
|
|
|
88fbaf |
|
|
|
88fbaf |
Signed-off-by: Jeremy Linton <jeremy.linton@arm.com>
|
|
|
88fbaf |
---
|
|
|
88fbaf |
decoder/build/linux/makefile | 6 ++----
|
|
|
88fbaf |
1 file changed, 2 insertions(+), 4 deletions(-)
|
|
|
88fbaf |
|
|
|
88fbaf |
diff --git a/decoder/build/linux/makefile b/decoder/build/linux/makefile
|
|
|
88fbaf |
index 659cf68..05653d5 100644
|
|
|
88fbaf |
--- a/decoder/build/linux/makefile
|
|
|
88fbaf |
+++ b/decoder/build/linux/makefile
|
|
|
88fbaf |
@@ -118,12 +118,10 @@ install: libs tests
|
|
|
88fbaf |
mkdir -p $(INSTALL_LIB_DIR) $(INSTALL_INCLUDE_DIR) $(INSTALL_BIN_DIR)
|
|
|
88fbaf |
cp -d $(LIB_TARGET_DIR)/lib$(LIB_BASE_NAME).so $(INSTALL_LIB_DIR)/
|
|
|
88fbaf |
cp -d $(LIB_TARGET_DIR)/lib$(LIB_BASE_NAME).so.$(SO_MAJOR_VER) $(INSTALL_LIB_DIR)/
|
|
|
88fbaf |
- $(INSTALL) --mode=644 $(LIB_TARGET_DIR)/lib$(LIB_BASE_NAME).so.$(SO_VER) $(INSTALL_LIB_DIR)/
|
|
|
88fbaf |
+ $(INSTALL) --mode=755 $(LIB_TARGET_DIR)/lib$(LIB_BASE_NAME).so.$(SO_VER) $(INSTALL_LIB_DIR)/
|
|
|
88fbaf |
cp -d $(LIB_TARGET_DIR)/lib$(LIB_CAPI_NAME).so $(INSTALL_LIB_DIR)/
|
|
|
88fbaf |
cp -d $(LIB_TARGET_DIR)/lib$(LIB_CAPI_NAME).so.$(SO_MAJOR_VER) $(INSTALL_LIB_DIR)/
|
|
|
88fbaf |
- $(INSTALL) --mode=644 $(LIB_TARGET_DIR)/lib$(LIB_CAPI_NAME).so.$(SO_VER) $(INSTALL_LIB_DIR)/
|
|
|
88fbaf |
- $(INSTALL) --mode=644 $(LIB_TARGET_DIR)/lib$(LIB_BASE_NAME).a $(INSTALL_LIB_DIR)/
|
|
|
88fbaf |
- $(INSTALL) --mode=644 $(LIB_TARGET_DIR)/lib$(LIB_CAPI_NAME).a $(INSTALL_LIB_DIR)/
|
|
|
88fbaf |
+ $(INSTALL) --mode=755 $(LIB_TARGET_DIR)/lib$(LIB_CAPI_NAME).so.$(SO_VER) $(INSTALL_LIB_DIR)/
|
|
|
88fbaf |
cd $(OCSD_ROOT)/build/linux/rctdl_c_api_lib && make install_inc
|
|
|
88fbaf |
$(INSTALL) --mode=755 $(BIN_TEST_TARGET_DIR)/trc_pkt_lister $(INSTALL_BIN_DIR)/
|
|
|
88fbaf |
|
|
|
88fbaf |
--
|
|
|
88fbaf |
2.27.0
|
|
|
88fbaf |
|