mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-28 15:48:45 +08:00
Build netsurf-fb statically
This commit is contained in:
parent
38000b8e86
commit
1e812da7c2
@ -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)"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user