From b06c9e0da9f3d70122b1a641646786925d001fd3 Mon Sep 17 00:00:00 2001 From: R1kaB3rN <100738684+R1kaB3rN@users.noreply.github.com> Date: Sat, 31 Aug 2024 15:03:49 -0700 Subject: [PATCH 1/2] Makefile: copy libmspack.so --- Makefile.in | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile.in b/Makefile.in index eec8948fd6..bf1b83b0a7 100644 --- a/Makefile.in +++ b/Makefile.in @@ -1398,6 +1398,7 @@ redist: all mkdir -p $(REDIST_DIR) rsync --delete -arx $(DST_BASE)/ $(REDIST_DIR) cp $(PROTONFIXES_TARGET)/cabextract $(REDIST_DIR)/files/bin/ + cp $(PROTONFIXES_TARGET)/libmspack.so $(REDIST_DIR)/files/lib64/ cp $(PROTONFIXES_TARGET)/libmspack.so.0 $(REDIST_DIR)/files/lib64/ cp $(PROTONFIXES_TARGET)/libmspack.so.0.1.0 $(REDIST_DIR)/files/lib64/ mv $(REDIST_DIR) $(BUILD_NAME) From 2ffd4469f385cf7fc102d65550f1055496ade95b Mon Sep 17 00:00:00 2001 From: R1kaB3rN <100738684+R1kaB3rN@users.noreply.github.com> Date: Sat, 31 Aug 2024 15:10:50 -0700 Subject: [PATCH 2/2] Makefile: prefer copying the symbolic link --- Makefile.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.in b/Makefile.in index bf1b83b0a7..77bfd26cd8 100644 --- a/Makefile.in +++ b/Makefile.in @@ -1398,8 +1398,8 @@ redist: all mkdir -p $(REDIST_DIR) rsync --delete -arx $(DST_BASE)/ $(REDIST_DIR) cp $(PROTONFIXES_TARGET)/cabextract $(REDIST_DIR)/files/bin/ - cp $(PROTONFIXES_TARGET)/libmspack.so $(REDIST_DIR)/files/lib64/ - cp $(PROTONFIXES_TARGET)/libmspack.so.0 $(REDIST_DIR)/files/lib64/ + cp -a $(PROTONFIXES_TARGET)/libmspack.so $(REDIST_DIR)/files/lib64/ + cp -a $(PROTONFIXES_TARGET)/libmspack.so.0 $(REDIST_DIR)/files/lib64/ cp $(PROTONFIXES_TARGET)/libmspack.so.0.1.0 $(REDIST_DIR)/files/lib64/ mv $(REDIST_DIR) $(BUILD_NAME) tar -cvzf $(BUILD_NAME).tar.gz $(BUILD_NAME)