From b8936883573708059357a66f67fad9dc77a8bade Mon Sep 17 00:00:00 2001 From: Carl Dong Date: Tue, 18 Aug 2020 15:29:19 -0400 Subject: [PATCH] depends: Specify LDFLAGS to cmake as well --- depends/funcs.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/depends/funcs.mk b/depends/funcs.mk index 00289a0a439..81ecbedf5c6 100644 --- a/depends/funcs.mk +++ b/depends/funcs.mk @@ -161,6 +161,7 @@ $(1)_cmake=env CC="$$($(1)_cc)" \ CFLAGS="$$($(1)_cppflags) $$($(1)_cflags)" \ CXX="$$($(1)_cxx)" \ CXXFLAGS="$$($(1)_cppflags) $$($(1)_cxxflags)" \ + LDFLAGS="$$($(1)_ldflags)" \ cmake -DCMAKE_INSTALL_PREFIX:PATH="$$($($(1)_type)_prefix)" ifneq ($($(1)_type),build) ifneq ($(host),$(build))