mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2024-12-25 16:13:05 +00:00
tools: cmake: use different approach for passing LDFLAGS
Funnel the required LDFLAGS environment through HOST_CONFIGURE_CMD for now as the HOST_CONFIGURE_VARS semantics are completely broken. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
This commit is contained in:
parent
267b05f273
commit
08d73bfdce
@ -19,10 +19,12 @@ HOST_CONFIGURE_PARALLEL:=1
|
||||
|
||||
include $(INCLUDE_DIR)/host-build.mk
|
||||
|
||||
HOST_CONFIGURE_CMD := MAKEFLAGS="$(HOST_JOBS)" $(BASH) ./configure
|
||||
HOST_CONFIGURE_CMD := \
|
||||
MAKEFLAGS="$(HOST_JOBS)" \
|
||||
LDFLAGS="$$$$(pkg-config --static --libs libcrypto)" \
|
||||
$(BASH) ./configure
|
||||
|
||||
HOST_CONFIGURE_VARS := \
|
||||
LDFLAGS="$$$$(pkg-config --static --libs libcrypto)"
|
||||
HOST_CONFIGURE_VARS :=
|
||||
|
||||
HOST_CONFIGURE_ARGS := \
|
||||
--prefix=$(STAGING_DIR_HOST)
|
||||
|
Loading…
Reference in New Issue
Block a user