mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-26 06:44:18 +08:00
Compile cairodemu and eduke32 statically
This commit is contained in:
parent
a983c43158
commit
170392f03a
@ -21,7 +21,7 @@ function recipe_build {
|
||||
export LDFLAGS="-L$sysroot/lib"
|
||||
export CPPFLAGS="-I$sysroot/include"
|
||||
set -x
|
||||
"${CXX}" -I "$sysroot/include" -L "$sysroot/lib" cairodemo.c -o cairodemo -lorbital -lcairo -lpixman-1 -lfreetype -lpng -lz
|
||||
"${CXX}" -I "$sysroot/include" -L "$sysroot/lib" cairodemo.c -o cairodemo -static -lorbital -lcairo -lpixman-1 -lfreetype -lpng -lz
|
||||
set +x
|
||||
skip=1
|
||||
}
|
||||
|
||||
@ -14,9 +14,9 @@ function recipe_update {
|
||||
|
||||
function recipe_build {
|
||||
sysroot="$(realpath ../sysroot)"
|
||||
export LDFLAGS="-L$sysroot/lib"
|
||||
export CFLAGS="-I$sysroot/include -I$sysroot/include/SDL"
|
||||
export SDLCONFIG="$sysroot/bin/sdl-config"
|
||||
export LDFLAGS="-L$sysroot/lib -static"
|
||||
export SDLCONFIG="$sysroot/bin/sdl-config --prefix=$sysroot"
|
||||
|
||||
PLATFORM=REDOX make -j"$(nproc)"
|
||||
skip=1
|
||||
|
||||
Loading…
Reference in New Issue
Block a user