diff --git a/recipes/netsurf/recipe.sh b/recipes/netsurf/recipe.sh index 28b7246ff9b8fa661ac2018fc91e1560f57a975a..0bfc582b2a3eeebcc848c7742723409d6359495a 100644 --- a/recipes/netsurf/recipe.sh +++ b/recipes/netsurf/recipe.sh @@ -17,7 +17,7 @@ function recipe_build { sysroot="$(realpath ../sysroot)" export TARGET="framebuffer" export CFLAGS="-I$sysroot/include -I${PWD}/inst-${TARGET}/include" - export LDFLAGS="-L$sysroot/lib -L${PWD}/inst-${TARGET}/lib -Wl,--allow-multiple-definition" + export LDFLAGS="-L$sysroot/lib -L${PWD}/inst-${TARGET}/lib -Wl,--allow-multiple-definition -Wl,-Bstatic" # nghttp2 is not linked for some reason export LDFLAGS="${LDFLAGS} -lcurl -lnghttp2" make V=1 -j"$(nproc)"