Revert "tools/zstd: build libraries as static"
authorChristian Marangi <ansuelsmth@gmail.com>
Tue, 27 Sep 2022 21:16:46 +0000 (23:16 +0200)
committerChristian Marangi <ansuelsmth@gmail.com>
Tue, 27 Sep 2022 21:17:51 +0000 (23:17 +0200)
This reverts commit e3989094b801da63b7b65b2460ea30dfeb324cd3.
Require more testing as it does cause compilation error.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
tools/zstd/Makefile

index 65381e7cb43a6d5c8560f7028caf3f22f51142a3..93f67459762b58b19862bf1e844ec5a41977f139 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 \