mirror of
https://github.com/lightpanda-io/browser.git
synced 2025-10-29 07:03:29 +00:00
netsurf: use zigg cc to compile statically libdom example
This commit is contained in:
committed by
Francis Bouvier
parent
f5a1279d52
commit
59b5e0a583
6
Makefile
6
Makefile
@@ -92,7 +92,7 @@ install-netsurf: install-libiconv
|
|||||||
BUILDDIR=$(BC_NS)/build/libdom make install && \
|
BUILDDIR=$(BC_NS)/build/libdom make install && \
|
||||||
printf "\e[33mRunning libdom example...\e[0m\n" && \
|
printf "\e[33mRunning libdom example...\e[0m\n" && \
|
||||||
cd examples && \
|
cd examples && \
|
||||||
clang \
|
zig cc \
|
||||||
-I$(ICONV)/include \
|
-I$(ICONV)/include \
|
||||||
-I$(BC_NS)/include \
|
-I$(BC_NS)/include \
|
||||||
-L$(ICONV)/lib \
|
-L$(ICONV)/lib \
|
||||||
@@ -102,7 +102,9 @@ install-netsurf: install-libiconv
|
|||||||
-lhubbub \
|
-lhubbub \
|
||||||
-lparserutils \
|
-lparserutils \
|
||||||
-lwapcaplet \
|
-lwapcaplet \
|
||||||
dom-structure-dump.c && \
|
-o a.out \
|
||||||
|
dom-structure-dump.c \
|
||||||
|
$(ICONV)/lib/libiconv.a && \
|
||||||
./a.out > /dev/null && \
|
./a.out > /dev/null && \
|
||||||
rm a.out && \
|
rm a.out && \
|
||||||
printf "\e[36mDone NetSurf $(OS)\e[0m\n"
|
printf "\e[36mDone NetSurf $(OS)\e[0m\n"
|
||||||
|
|||||||
Reference in New Issue
Block a user