Skip to content
Snippets Groups Projects
Verified Commit 1e812da7 authored by Jeremy Soller's avatar Jeremy Soller
Browse files

Build netsurf-fb statically

parent 38000b8e
No related branches found
No related tags found
No related merge requests found
......@@ -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)"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment