diff --git a/recipes/python/recipe.sh b/recipes/python/recipe.sh index 10357bbec0cbaf6b081edd57c9f5052718345a97..7a024f103e81f3f20643a607b3e40224e2e62000 100644 --- a/recipes/python/recipe.sh +++ b/recipes/python/recipe.sh @@ -15,6 +15,7 @@ function recipe_update { } function recipe_build { + export LDFLAGS="-static" cp ../config.site ./ ./configure \ --build=${BUILD} \ @@ -42,6 +43,6 @@ function recipe_clean { function recipe_stage { dest="$(realpath $1)" make DESTDIR="$dest" install -j"$(nproc)" - "$STRIP" "$dest/bin/python3.7" + "$STRIP" "$dest/bin/python3.7" "$dest/bin/python3.7m" skip=1 }