x265: fix cross compiled builds

use ${CMAKE} not cmake to build so as to use CMAKE_TOOLCHAIN_FILE
and target the correct TARGET architecture.
This commit is contained in:
Rudi Heitbaum 2024-07-15 12:59:05 +00:00
parent a8655f25d2
commit 6729126608

View File

@ -14,5 +14,5 @@ PKG_TOOLCHAIN="make"
pre_configure_target() {
LDFLAGS+=" -ldl"
cmake -DCMAKE_INSTALL_PREFIX=/usr -G "Unix Makefiles" ./source
${CMAKE} -G "Unix Makefiles" ./source
}