#!/bin/sh
set -efux

cp -Lr /usr/share/doc/liblivemedia-dev/examples .
cd examples

# should we run make all here? Just test one file, to check if pkg-config works
CFLAGS="$(pkgconf --cflags live555)"
LDFLAGS="$(pkgconf --libs live555)"
g++ testRelay.cpp $CFLAGS $LDFLAGS -o testRelay
ldd ./testRelay
