WIP: Add llvm-config libs to gears compilation

This commit is contained in:
Jeremy Soller 2020-12-23 21:27:32 -07:00
parent 3e708faca1
commit 84535c9062
No known key found for this signature in database
GPG Key ID: E988B49EE78A7FB1

View File

@ -19,7 +19,7 @@ function recipe_prepare {
function recipe_build {
sysroot="$(realpath ../sysroot)"
set -x
"${CXX}" -O2 -I "$sysroot/include" -L "$sysroot/lib" gears.c -o gears -static -lorbital $("${PKG_CONFIG}" --libs glu) -lglapi -lz
"${CXX}" -O2 -I "$sysroot/include" -L "$sysroot/lib" gears.c -o gears -static -lorbital $("${PKG_CONFIG}" --libs glu) $("${TARGET}-llvm-config" --libs all) -lz
set +x
skip=1
}