build: link netsurf

Signed-off-by: Francis Bouvier <francis.bouvier@gmail.com>
This commit is contained in:
Francis Bouvier
2023-09-07 16:51:29 +02:00
parent 97348cef5c
commit d6027b238b
2 changed files with 30 additions and 1 deletions

View File

@@ -75,7 +75,6 @@ endif
install-netsurf:
@printf "\e[36mInstalling NetSurf...\e[0m\n" && \
ls $(ICONV) 1> /dev/null || (printf "\e[33mERROR: you need to install libiconv in your system (on MacOS on with Homebrew)\e[0m\n"; exit 1;) && \
mkdir -p vendor/netfurf/build && \
export PREFIX=$(BC_NS) && \
export LDFLAGS="-L$(ICONV)/lib" && \
export CFLAGS="-I/$(ICONV)/include -I$(BC_NS)/libparserutils/include -I$(BC_NS)/libhubbub/include -I$(BC_NS)/libwapcaplet/include" && \