[openwrt/openwrt] Revert "tools/zstd: build libraries as static"

LEDE Commits lede-commits at lists.infradead.org
Tue Sep 27 14:19:01 PDT 2022


ansuel pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/6e90cb60e4b5720b399103cbb44508bc0559be1e

commit 6e90cb60e4b5720b399103cbb44508bc0559be1e
Author: Christian Marangi <ansuelsmth at gmail.com>
AuthorDate: Tue Sep 27 23:16:46 2022 +0200

    Revert "tools/zstd: build libraries as static"
    
    This reverts commit e3989094b801da63b7b65b2460ea30dfeb324cd3.
    Require more testing as it does cause compilation error.
    
    Signed-off-by: Christian Marangi <ansuelsmth at gmail.com>
---
 tools/zstd/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/zstd/Makefile b/tools/zstd/Makefile
index 65381e7cb4..93f6745976 100644
--- a/tools/zstd/Makefile
+++ b/tools/zstd/Makefile
@@ -17,9 +17,9 @@ include $(INCLUDE_DIR)/meson.mk
 MESON_HOST_BUILD_DIR:=$(HOST_BUILD_DIR)/build/meson/openwrt-build
 
 HOSTCC:= $(HOSTCC_NOCACHE)
+HOST_LDFLAGS += -Wl,-rpath,$(STAGING_DIR_HOST)/lib
 
 MESON_HOST_ARGS += \
-	-Ddefault_library=static \
 	-Dlegacy_level=7 \
 	-Ddebug_level=0 \
 	-Dbacktrace=false \




More information about the lede-commits mailing list