depends: Specify LDFLAGS to cmake as well

This commit is contained in:
Carl Dong 2020-08-18 15:29:19 -04:00
parent b3f541f618
commit b893688357
No known key found for this signature in database
GPG Key ID: 0CC52153197991A5

View File

@ -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))