diff options
author | fanquake <fanquake@gmail.com> | 2024-05-13 20:01:06 +0800 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2024-05-13 20:01:06 +0800 |
commit | 1e4412b317f74dd64069309544fe73c95e2c10e7 (patch) | |
tree | 12854e79a1024defc3ffa1ad2d1cad90a671a0f2 /depends | |
parent | b94061902e52132489fe296c12396798700f1f35 (diff) |
depends: set AR for CMake
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 d8a72421b4..05abf7bf7e 100644 --- a/depends/funcs.mk +++ b/depends/funcs.mk @@ -180,6 +180,7 @@ $(1)_cmake=env CC="$$($(1)_cc)" \ CXXFLAGS="$$($(1)_cppflags) $$($(1)_cxxflags)" \ LDFLAGS="$$($(1)_ldflags)" \ cmake -DCMAKE_INSTALL_PREFIX:PATH="$$($($(1)_type)_prefix)" \ + -DCMAKE_AR=`which $$($(1)_ar)` \ -DCMAKE_INSTALL_LIBDIR=lib/ \ -DCMAKE_POSITION_INDEPENDENT_CODE=ON \ -DCMAKE_VERBOSE_MAKEFILE:BOOL=$(V) \ |