mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-28 15:48:45 +08:00
Fix netsurf recipe
This commit is contained in:
parent
435a9bfd37
commit
38000b8e86
@ -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
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user