mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
66 lines
1.2 KiB
Bash
Executable File
66 lines
1.2 KiB
Bash
Executable File
#!/bin/sh
|
|
|
|
rm -rf /tmp/builddir2
|
|
#meson /tmp/builddir .
|
|
|
|
LIBRARY_PATH="/usr/local/lib" \
|
|
PKG_CONFIG_PATH="/usr/local/lib/pkgconfig" \
|
|
C_INCLUDE_PATH="/usr/local/include" \
|
|
CFLAGS="-I/usr/local/include -DWATT32_NO_NAMESPACE" \
|
|
CXXFLAGS="-I/usr/local/include -DWATT32_NO_NAMESPACE" \
|
|
LDFLAGS="-L/usr/local/lib" \
|
|
meson /tmp/builddir2 --cross-file cross/linux-djgpp.txt \
|
|
-D88-colors=false \
|
|
-D256-colors=false \
|
|
-Dbacktrace=false \
|
|
-Dbittorrent=false \
|
|
-Dbrotli=true \
|
|
-Dbzlib=true \
|
|
-Dcgi=false \
|
|
-Dcss=true \
|
|
-Dcombining=false \
|
|
-Ddgi=true \
|
|
-Dexmode=true \
|
|
-Dfastmem=true \
|
|
-Dfsp=false \
|
|
-Dgemini=true \
|
|
-Dgettext=false \
|
|
-Dgnutls=false \
|
|
-Dgopher=true \
|
|
-Dgpm=false \
|
|
-Dguile=false \
|
|
-Didn=true \
|
|
-Dipv6=true \
|
|
-Dlibev=false \
|
|
-Dlibevent=false \
|
|
-Dlzma=true \
|
|
-Dmailcap=false \
|
|
-Dmouse=true \
|
|
-Dnls=true \
|
|
-Dnntp=true \
|
|
-Dopenssl=true \
|
|
-Dperl=false \
|
|
-Dprefix=$HOME \
|
|
-Dpython=false \
|
|
-Dquickjs=true \
|
|
-Druby=false \
|
|
-Dsm-scripting=false \
|
|
-Dspidermonkey=false \
|
|
-Dstatic=true \
|
|
-Dterminfo=false \
|
|
-Dtest=false \
|
|
-Dtre=false \
|
|
-Dtrue-color=false \
|
|
-Dutf-8=false \
|
|
-Dwithdebug=false \
|
|
-Dx=false \
|
|
-Dxbel=true \
|
|
-Dzlib=true \
|
|
-Dzstd=false \
|
|
|
|
meson compile -C /tmp/builddir2
|
|
|
|
i586-pc-msdosdjgpp-strip /tmp/builddir2/src/elinks.exe
|
|
|
|
upx /tmp/builddir2/src/elinks.exe
|