27 lines
621 B
Bash
27 lines
621 B
Bash
|
#!/bin/sh
|
||
|
|
||
|
#autoreconf -vif
|
||
|
#./configure \
|
||
|
# --disable-shared \
|
||
|
# --enable-static \
|
||
|
# --build="$(uname -m)-lix-linux-musl" \
|
||
|
# --host="$(uname -m)-lix-linux-musl" \
|
||
|
# --prefix=
|
||
|
|
||
|
[ -e "netsurf/Makefile.config" ] || \
|
||
|
cp netsurf/Makefile.config.example netsurf/Makefile.config
|
||
|
|
||
|
$EDITOR netsurf/Makefile.config
|
||
|
|
||
|
## explanation
|
||
|
#
|
||
|
# --disable-shared: don't build anything with dynamic linking.
|
||
|
#
|
||
|
# --enable-static: use static linking instead.
|
||
|
#
|
||
|
# --build: make sure the build string gets set correctly.
|
||
|
#
|
||
|
# --host: make sure the host string gets set correctly.
|
||
|
#
|
||
|
# --prefix: respect the "no /usr/local" policy.
|