Do not remove sdl-config

This commit is contained in:
Jeremy Soller 2018-12-10 13:40:22 -07:00
parent cb6e329030
commit f4b46490ff
No known key found for this signature in database
GPG Key ID: E988B49EE78A7FB1
2 changed files with 3 additions and 2 deletions

View File

@ -13,9 +13,10 @@ function recipe_update {
}
function recipe_build {
sysroot="$(realpath ../sysroot)"
autoreconf -if
wget -O autotools/config.sub http://git.savannah.gnu.org/cgit/config.git/plain/config.sub
./configure --prefix=/ --host=${HOST} --disable-sdltest --disable-cpu-opt --disable-gl --without-net --with-sdl-prefix="$PWD/../sysroot"
./configure --prefix=/ --host=${HOST} --disable-sdltest --disable-cpu-opt --disable-gl --without-net --with-sdl-prefix="$sysroot"
make -j"$(nproc)"
skip=1
}

View File

@ -46,6 +46,6 @@ function recipe_clean {
function recipe_stage {
dest="$(realpath $1)"
make DESTDIR="$dest" install
rm -f "$dest/bin/"*-config "$dest/lib/"*.la
rm -f "$dest/lib/"*.la
skip=1
}