Skip to content

Commit b893688

Browse files
committed
depends: Specify LDFLAGS to cmake as well
1 parent b3f541f commit b893688

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

depends/funcs.mk

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,7 @@ $(1)_cmake=env CC="$$($(1)_cc)" \
161161
CFLAGS="$$($(1)_cppflags) $$($(1)_cflags)" \
162162
CXX="$$($(1)_cxx)" \
163163
CXXFLAGS="$$($(1)_cppflags) $$($(1)_cxxflags)" \
164+
LDFLAGS="$$($(1)_ldflags)" \
164165
cmake -DCMAKE_INSTALL_PREFIX:PATH="$$($($(1)_type)_prefix)"
165166
ifneq ($($(1)_type),build)
166167
ifneq ($(host),$(build))

0 commit comments

Comments
 (0)