Skip to content

Commit 1e4412b

Browse files
committed
depends: set AR for CMake
1 parent b940619 commit 1e4412b

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
@@ -180,6 +180,7 @@ $(1)_cmake=env CC="$$($(1)_cc)" \
180180
CXXFLAGS="$$($(1)_cppflags) $$($(1)_cxxflags)" \
181181
LDFLAGS="$$($(1)_ldflags)" \
182182
cmake -DCMAKE_INSTALL_PREFIX:PATH="$$($($(1)_type)_prefix)" \
183+
-DCMAKE_AR=`which $$($(1)_ar)` \
183184
-DCMAKE_INSTALL_LIBDIR=lib/ \
184185
-DCMAKE_POSITION_INDEPENDENT_CODE=ON \
185186
-DCMAKE_VERBOSE_MAKEFILE:BOOL=$(V) \

0 commit comments

Comments
 (0)