diff options
author | Carl Dong <contact@carldong.me> | 2020-08-18 15:29:19 -0400 |
---|---|---|
committer | Carl Dong <contact@carldong.me> | 2020-08-18 15:29:19 -0400 |
commit | b8936883573708059357a66f67fad9dc77a8bade (patch) | |
tree | 7b5abfbc088f1ae5a41893bb2b54110544a649e7 /depends | |
parent | b3f541f618fe1f3d44baf6a0dd4299173c81f752 (diff) |
depends: Specify LDFLAGS to cmake as well
Diffstat (limited to 'depends')
-rw-r--r-- | depends/funcs.mk | 1 |
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)) |