mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
app images build with libc
This commit is contained in:
parent
fe4c2fc0bc
commit
5fde1a35f2
2 changed files with 5 additions and 1 deletions
|
@ -34,9 +34,11 @@ for file in ../artifacts/*; do
|
|||
/lib/x86_64-linux-gnu/libreadline.so.8 \
|
||||
$appName.AppDir/usr/lib/
|
||||
|
||||
# /lib/x86_64-linux-gnu/libstdc++.so.6
|
||||
|
||||
chmod +x ./$appName.AppDir/usr/bin/$appName
|
||||
# create AppImage
|
||||
./../appimagetool-x86_64.AppImage $appName.AppDir
|
||||
./../appimagetool-x86_64.AppImage -l $appName.AppDir
|
||||
mv $appName-x86_64.AppImage artifacts/$appName
|
||||
fi
|
||||
done
|
||||
|
|
|
@ -40,6 +40,8 @@ else
|
|||
fi
|
||||
|
||||
cmake -GNinja .. \
|
||||
-DCMAKE_CXX_FLAGS="-stdlib=libc++ -I/usr/lib/llvm-16/include/c++/v1" \
|
||||
-DCMAKE_EXE_LINKER_FLAGS="-stdlib=libc++ -static-libgcc -static-libstdc++ /usr/lib/llvm-16/lib/libc++abi.a -I/usr/lib/llvm-16/include/c++/v1" \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DPORTABLE=1 \
|
||||
-DOPENSSL_ROOT_DIR=$opensslPath \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue