Skip to content

Commit

Permalink
LINUX: appimage build - treat libm like libc (#813)
Browse files Browse the repository at this point in the history
  • Loading branch information
ciscon authored Aug 24, 2023
1 parent fd3fffd commit 65dd06d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion misc/appimage/appimage-manual_creation.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ int main(){
'

QUAKE_SCRIPT='#!/usr/bin/env bash
export LD_LIBRARY_PATH="${APPIMAGE_LIBRARY_PATH}:${APPDIR}/usr/lib"
export LD_LIBRARY_PATH="${APPIMAGE_LIBRARY_PATH}:${APPDIR}/usr/lib:${LD_LIBRARY_PATH}"
cd "$OWD"
"${APPDIR}/usr/bin/test" >/dev/null 2>&1 |:
FAIL=${PIPESTATUS[0]}
Expand Down Expand Up @@ -92,6 +92,7 @@ ldd "$DIR/AppDir/usr/bin/ezquake-linux-$ARCH" | \
strip -s "$DIR/AppDir/usr/lib/"* || exit 5
strip -s "$DIR/AppDir/usr/bin/"* || exit 5
mv -f "$DIR/AppDir/usr/lib/libc.so.6" "$DIR/AppDir/usr/lib-override/."
mv -f "$DIR/AppDir/usr/lib/libm.so.6" "$DIR/AppDir/usr/lib-override/."
cp -Lf "/lib64/ld-linux-${ARCHDASH}.so.2" "$DIR/AppDir/usr/lib-override/." || exit 6

cd "$DIR" || exit 5
Expand Down

0 comments on commit 65dd06d

Please sign in to comment.