ports/xash3d-fwgs: Don't disable opengl and patch output

Manually link against libxash.so. My current dlopen does not support
loading ELF files that contain TLS
This commit is contained in:
Bananymous 2025-08-05 02:58:59 +03:00
parent 945509fc93
commit 8bbda78272
1 changed files with 2 additions and 1 deletions

View File

@ -20,7 +20,7 @@ configure() {
done done
popd popd
./waf configure -T release --disable-gl || exit 1 ./waf configure -T release || exit 1
} }
build() { build() {
@ -29,6 +29,7 @@ build() {
install() { install() {
./waf install --destdir=$BANAN_SYSROOT/home/user/halflife || exit 1 ./waf install --destdir=$BANAN_SYSROOT/home/user/halflife || exit 1
patchelf --add-needed libxash.so $BANAN_SYSROOT/home/user/halflife/xash3d
cat > $BANAN_SYSROOT/home/user/halflife/start.sh << EOF cat > $BANAN_SYSROOT/home/user/halflife/start.sh << EOF
#!/bin/Shell #!/bin/Shell