Files
UltraGrid/.github/scripts/Windows/build_live555.sh
2022-09-08 14:43:42 +02:00

20 lines
311 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