From 38000b8e8655fb5f533d553a84d148b1f8751774 Mon Sep 17 00:00:00 2001 From: Jeremy Soller <jeremy@system76.com> Date: Wed, 24 Apr 2019 10:34:31 -0600 Subject: [PATCH] Fix netsurf recipe --- recipes/netsurf/recipe.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/recipes/netsurf/recipe.sh b/recipes/netsurf/recipe.sh index a2ed0e951..28b7246ff 100644 --- a/recipes/netsurf/recipe.sh +++ b/recipes/netsurf/recipe.sh @@ -1,6 +1,6 @@ VERSION=3.7 TAR=http://download.netsurf-browser.org/netsurf/releases/source-full/netsurf-all-$VERSION.tar.gz -BUILD_DEPENDS=(curl expat libjpeg libpng openssl sdl zlib freetype liborbital libiconv) +BUILD_DEPENDS=(curl expat libjpeg libpng nghttp2 openssl sdl zlib freetype liborbital libiconv) DEPENDS="ca-certificates orbital" function recipe_version { @@ -18,6 +18,8 @@ function recipe_build { 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" + # nghttp2 is not linked for some reason + export LDFLAGS="${LDFLAGS} -lcurl -lnghttp2" make V=1 -j"$(nproc)" skip=1 } -- GitLab