Skip to content

Commit

Permalink
tools: cmake: use different approach for passing LDFLAGS
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
jow- committed Jan 5, 2017
1 parent 267b05f commit 08d73bf
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions tools/cmake/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 08d73bf

Please sign in to comment.