Files
UltraGrid/.github/scripts/Windows/build_live555.sh
Martin Pulec 12c6c76655 fixed pacman auto-confirmation in previous commit
+ fixed PATH (missing $)
2022-04-25 09:28:23 +02:00

20 lines
309 B
Bash
Executable File

#!/bin/bash -ex
export CC=gcc
export CXX=g++
cd /c
rm -rf live555
git clone https://github.com/xanview/live555/
cd live555
git checkout 35c375
./genMakefiles mingw
# ensure binutils ld is used (not lld)
pacman -Sy --noconfirm binutils
PATH=/usr/bin:$PATH
make -j $(nproc)
pacman -Rs --noconfirm binutils