Strip python3.7m as well, add -static flag

This commit is contained in:
Jeremy Soller 2019-07-16 22:12:43 -06:00
parent d90e711e61
commit 5efe865235
No known key found for this signature in database
GPG Key ID: E988B49EE78A7FB1

View File

@ -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
}