aboutsummaryrefslogtreecommitdiffstats
path: root/tools/zstd
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2022-09-24 18:42:59 -0700
committerChristian Marangi <ansuelsmth@gmail.com>2023-02-09 02:53:36 +0100
commite704a2b57bd9f593e0133a44bd7b35986152d864 (patch)
treecfe1fa2f17931c85e9345c0b4e9d18d862bdbec1 /tools/zstd
parentad564cb0197865bb6caecd6a0ea628249c08afb2 (diff)
downloadupstream-e704a2b57bd9f593e0133a44bd7b35986152d864.tar.gz
upstream-e704a2b57bd9f593e0133a44bd7b35986152d864.tar.bz2
upstream-e704a2b57bd9f593e0133a44bd7b35986152d864.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/zstd')
-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 \