1
mirror of https://github.com/jedisct1/libsodium.git synced 2024-12-19 10:05:05 -07:00

WASI: disable PIE. PIE doesn't work with WASI.

This commit is contained in:
Frank Denis 2024-05-19 11:21:41 +02:00
parent 6e27e98777
commit b582d20ab4

View File

@ -30,7 +30,7 @@ fi
if ! ./configure ${LIBSODIUM_ENABLE_MINIMAL_FLAG} \ if ! ./configure ${LIBSODIUM_ENABLE_MINIMAL_FLAG} \
--prefix="$PREFIX" \ --prefix="$PREFIX" \
--host=wasm32-wasi \ --host=wasm32-wasi \
--disable-ssp --disable-shared --without-pthreads; then --disable-pie --disable-ssp --disable-shared --without-pthreads; then
cat config.log cat config.log
exit 1 exit 1
fi fi