Skip to content

Commit

Permalink
app images build with libc
Browse files Browse the repository at this point in the history
  • Loading branch information
neodix42 committed Dec 26, 2024
1 parent fe4c2fc commit 5fde1a3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion assembly/appimage/create-appimages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions assembly/native/build-ubuntu-appimages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit 5fde1a3

Please sign in to comment.