mirror of
https://github.com/openwrt/openwrt.git
synced 2025-02-21 09:42:09 +00:00
tools/zstd: build libraries as static
Enables to get rid of rpath hack for all users. Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
parent
ad564cb019
commit
e704a2b57b
@ -17,9 +17,9 @@ include $(INCLUDE_DIR)/meson.mk
|
|||||||
MESON_HOST_BUILD_DIR:=$(HOST_BUILD_DIR)/build/meson/openwrt-build
|
MESON_HOST_BUILD_DIR:=$(HOST_BUILD_DIR)/build/meson/openwrt-build
|
||||||
|
|
||||||
HOSTCC:= $(HOSTCC_NOCACHE)
|
HOSTCC:= $(HOSTCC_NOCACHE)
|
||||||
HOST_LDFLAGS += -Wl,-rpath,$(STAGING_DIR_HOST)/lib
|
|
||||||
|
|
||||||
MESON_HOST_ARGS += \
|
MESON_HOST_ARGS += \
|
||||||
|
-Ddefault_library=static \
|
||||||
-Dlegacy_level=7 \
|
-Dlegacy_level=7 \
|
||||||
-Ddebug_level=0 \
|
-Ddebug_level=0 \
|
||||||
-Dbacktrace=false \
|
-Dbacktrace=false \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user