aboutsummaryrefslogtreecommitdiff
path: root/depends
diff options
context:
space:
mode:
authorCarl Dong <contact@carldong.me>2020-08-18 15:29:19 -0400
committerCarl Dong <contact@carldong.me>2020-08-18 15:29:19 -0400
commitb8936883573708059357a66f67fad9dc77a8bade (patch)
tree7b5abfbc088f1ae5a41893bb2b54110544a649e7 /depends
parentb3f541f618fe1f3d44baf6a0dd4299173c81f752 (diff)
depends: Specify LDFLAGS to cmake as well
Diffstat (limited to 'depends')
-rw-r--r--depends/funcs.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/depends/funcs.mk b/depends/funcs.mk
index 00289a0a43..81ecbedf5c 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))