source-engine/scripts/tests-ubuntu-i386.sh
Er2 12f4148608 Allow installation to global directories.
This commit now install everything with FHS-compliant structure
(/usr/local/bin/hl2_launcher and lib/libtier0.so lib/lib...).

Binaries and libraries now uses rpath and not depends on local bin/
directory unlike original Valve's Source.
2023-05-01 13:20:36 +03:00

12 lines
374 B
Bash
Executable File

install#!/bin/sh
git submodule init && git submodule update
sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install -y g++-multilib gcc-multilib libbz2-dev:i386
PKG_CONFIG_PATH=/usr/lib/i386-linux-gnu/pkgconfig ./waf configure -T release --sanitize=address,undefined --disable-warns --tests --prefix=out/ $* &&
./waf install &&
cd out &&
./bin/unittest