tools/zstd: build libraries as static
authorRosen Penev <rosenp@gmail.com>
Sun, 25 Sep 2022 01:42:59 +0000 (18:42 -0700)
committerChristian Marangi <ansuelsmth@gmail.com>
Tue, 27 Sep 2022 19:28:49 +0000 (21:28 +0200)
Enables to get rid of rpath hack for all users.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
tools/zstd/Makefile

index 93f67459762b58b19862bf1e844ec5a41977f139..65381e7cb43a6d5c8560f7028caf3f22f51142a3 100644 (file)
@@ -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 \