diff --git a/recipes/bash/recipe.sh b/recipes/bash/recipe.sh index 03464a66ba487a45b3a7bf87e56bcfbfdfe31cb5..b4ec7805ab211b5bfb80140cbd608b19cdef61db 100644 --- a/recipes/bash/recipe.sh +++ b/recipes/bash/recipe.sh @@ -14,7 +14,7 @@ function recipe_update { function recipe_build { sysroot="$PWD/../sysroot" - export LDFLAGS="-L$sysroot/lib" + export LDFLAGS="-L$sysroot/lib -static" export CPPFLAGS="-I$sysroot/include" wget -O support/config.sub http://git.savannah.gnu.org/cgit/config.git/plain/config.sub ./configure \ diff --git a/recipes/curl/recipe.sh b/recipes/curl/recipe.sh index 988c35e3506d7eb7c0c53aed101d650774748d62..98b388e13e6f8d1af68849919e693c421c96ee4d 100644 --- a/recipes/curl/recipe.sh +++ b/recipes/curl/recipe.sh @@ -18,7 +18,7 @@ function recipe_update { function recipe_build { sysroot="$(realpath ../sysroot)" export CFLAGS="-I$sysroot/include" - export LDFLAGS="-L$sysroot/lib" + export LDFLAGS="-L$sysroot/lib --static" wget -O config.sub http://git.savannah.gnu.org/cgit/config.git/plain/config.sub autoreconf -i ./configure \ @@ -28,8 +28,10 @@ function recipe_build { --disable-ftp \ --disable-ipv6 \ --disable-ntlm-wb \ + --disable-shared \ --disable-tftp \ --disable-threaded-resolver \ + --enable-static \ --with-ca-path=/ssl/certs \ --with-nghttp2="$sysroot" \ --with-ssl="$sysroot" \