diff options
Diffstat (limited to 'tools/cmake/Makefile')
-rw-r--r-- | tools/cmake/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/tools/cmake/Makefile b/tools/cmake/Makefile index 13390ab967..6214da748b 100644 --- a/tools/cmake/Makefile +++ b/tools/cmake/Makefile @@ -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) |