aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2022-09-24 18:42:59 -0700
committerChristian Marangi <ansuelsmth@gmail.com>2022-09-27 21:28:49 +0200
commite3989094b801da63b7b65b2460ea30dfeb324cd3 (patch)
tree40bfe3d2be4592341d45543bcc9c0358b3320471 /tools
parent83ea2e11b4b7872642bc7ac587361ccd783308f2 (diff)
downloadupstream-e3989094b801da63b7b65b2460ea30dfeb324cd3.tar.gz
upstream-e3989094b801da63b7b65b2460ea30dfeb324cd3.tar.bz2
upstream-e3989094b801da63b7b65b2460ea30dfeb324cd3.zip
tools/zstd: build libraries as static
Enables to get rid of rpath hack for all users. Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/zstd/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/zstd/Makefile b/tools/zstd/Makefile
index 93f6745976..65381e7cb4 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 \