1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-11-04 08:17:17 -05:00
elinks/docker/win64-static/build_hubbub.sh
2024-01-02 11:05:50 +01:00

14 lines
541 B
Bash

export LIBRARY_PATH="$HOME/lib"
export PKG_CONFIG_PATH="$HOME/lib/pkgconfig"
export C_INCLUDE_PATH="$HOME/include"
export CFLAGS="-O2 -I$HOME/include -Wno-error"
export CXXFLAGS="-O2 -I$HOME/include -Wno-error"
export LDFLAGS="-L$HOME/lib"
export CC="x86_64-w64-mingw32-gcc"
export AR="x86_64-w64-mingw32-ar"
cd
wget http://download.netsurf-browser.org/libs/releases/libhubbub-0.3.8-src.tar.gz
rm -rf libhubbub-0.3.8
tar -xf libhubbub-0.3.8-src.tar.gz
make -C libhubbub-0.3.8 install -j1 Q= PREFIX=$HOME LIBDIR=lib COMPONENT_TYPE=lib-static