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:
parent
945509fc93
commit
8bbda78272
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue