mirror of
https://github.com/rkd77/elinks.git
synced 2025-01-03 14:57:44 -05:00
[docker] Do not build elinks in /dev/shm
This commit is contained in:
parent
5dff8527e2
commit
b812a9ce3d
@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
rm -rf /dev/shm/builddir
|
||||
rm -rf ~/build
|
||||
|
||||
cd ~/elinks
|
||||
|
||||
@ -10,7 +10,7 @@ C_INCLUDE_PATH="$HOME/include" \
|
||||
CFLAGS="-O0 -I$HOME/include -DCURL_STATICLIB" \
|
||||
CXXFLAGS="-O0 -I$HOME/include -DCURL_STATICLIB" \
|
||||
LDFLAGS="-L$HOME/lib -lcrypto -L$HOME/lib -lbrotlicommon -L$HOME/lib -lbrotlidec -L$HOME/lib -lzstd -L$HOME/lib -lssh2 -L$HOME/lib -lnghttp2 -L$HOME/lib -lnghttp3 -L$HOME/lib -lngtcp2 -L$HOME/lib -lngtcp2_crypto_quictls -lws2_32 -lcrypt32 -lwldap32 -lbcrypt -lucrt -liphlpapi" \
|
||||
meson setup /dev/shm/builddir --cross-file cross/linux-mingw64.txt \
|
||||
meson setup ~/build --cross-file cross/linux-mingw64.txt \
|
||||
-D88-colors=false \
|
||||
-D256-colors=false \
|
||||
-Dapidoc=false \
|
||||
@ -66,4 +66,4 @@ meson setup /dev/shm/builddir --cross-file cross/linux-mingw64.txt \
|
||||
-Dzlib=true \
|
||||
-Dzstd=false
|
||||
|
||||
meson compile -C /dev/shm/builddir
|
||||
meson compile -C ~/build
|
||||
|
@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
rm -rf /dev/shm/builddir2
|
||||
rm -rf ~/buildjs
|
||||
cd ~/elinks
|
||||
LIBRARY_PATH="$HOME/lib:$HOME/lib64" \
|
||||
PKG_CONFIG_PATH="$HOME/lib/pkgconfig:$HOME/lib64/pkgconfig" \
|
||||
@ -8,7 +8,7 @@ C_INCLUDE_PATH="$HOME/include" \
|
||||
CFLAGS="-O2 -I$HOME/include -DCURL_STATICLIB" \
|
||||
CXXFLAGS="-O2 -I$HOME/include -DCURL_STATICLIB" \
|
||||
LDFLAGS="-L$HOME/lib -lcrypto -L$HOME/lib -lbrotlicommon -L$HOME/lib -lbrotlidec -L$HOME/lib -lzstd -L$HOME/lib -lssh2 -L$HOME/lib -lnghttp2 -L$HOME/lib -lnghttp3 -L$HOME/lib -lngtcp2 -L$HOME/lib -lngtcp2_crypto_quictls -lws2_32 -lcrypt32 -lwldap32 -lbcrypt -lucrt -lpthread" \
|
||||
meson setup /dev/shm/builddir2 --cross-file cross/linux-mingw64.txt \
|
||||
meson setup ~/buildjs --cross-file cross/linux-mingw64.txt \
|
||||
-D88-colors=false \
|
||||
-D256-colors=false \
|
||||
-Dapidoc=false \
|
||||
@ -65,4 +65,4 @@ meson setup /dev/shm/builddir2 --cross-file cross/linux-mingw64.txt \
|
||||
-Dzlib=true \
|
||||
-Dzstd=false
|
||||
|
||||
meson compile -C /dev/shm/builddir2
|
||||
meson compile -C ~/buildjs
|
||||
|
Loading…
Reference in New Issue
Block a user