Skip to content
Snippets Groups Projects
Verified Commit 170392f0 authored by Jeremy Soller's avatar Jeremy Soller
Browse files

Compile cairodemu and eduke32 statically

parent a983c431
No related branches found
No related tags found
No related merge requests found
...@@ -21,7 +21,7 @@ function recipe_build { ...@@ -21,7 +21,7 @@ function recipe_build {
export LDFLAGS="-L$sysroot/lib" export LDFLAGS="-L$sysroot/lib"
export CPPFLAGS="-I$sysroot/include" export CPPFLAGS="-I$sysroot/include"
set -x 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 set +x
skip=1 skip=1
} }
......
...@@ -14,9 +14,9 @@ function recipe_update { ...@@ -14,9 +14,9 @@ function recipe_update {
function recipe_build { function recipe_build {
sysroot="$(realpath ../sysroot)" sysroot="$(realpath ../sysroot)"
export LDFLAGS="-L$sysroot/lib"
export CFLAGS="-I$sysroot/include -I$sysroot/include/SDL" 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)" PLATFORM=REDOX make -j"$(nproc)"
skip=1 skip=1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment