build: Generate toolchain.cmake in depends

This commit is contained in:
Hennadii Stepanov committed 2024-08-16 21:19:10 +01:00
1 parent 91a799247d
commit 0d01c228a7
3 files changed
+224 -2

No files matched your search

+1 -1
View File
@@ -171,7 +171,7 @@ $(1)_autoconf += LDFLAGS="$$($(1)_ldflags)"
endif
# We hardcode the library install path to "lib" to match the PKG_CONFIG_PATH
# setting in depends/config.site.in, which also hardcodes "lib".
# setting in depends/toolchain.cmake.in, which also hardcodes "lib".
# Without this setting, CMake by default would use the OS library
# directory, which might be "lib64" or something else, not "lib", on multiarch systems.
$(1)_cmake=env CC="$$($(1)_cc)" \