summaryrefslogtreecommitdiffstats
path: root/scripts/libass-config
blob: 810b67099b43eb198dbf1314dc485a672f9df20c (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh
set -e

OPTIONS="$@"

BUILD="$(pwd)"
cd "$BUILD"/libass
# Later libass doesn't automatically run configure with autogen.sh anymore
PKG_CONFIG_PATH="$BUILD"/build_libs/lib/pkgconfig ./autogen.sh --prefix="$BUILD/build_libs" --libdir="$BUILD/build_libs/lib" --enable-static --disable-shared $OPTIONS
PKG_CONFIG_PATH="$BUILD"/build_libs/lib/pkgconfig ./configure  --prefix="$BUILD/build_libs" --libdir="$BUILD/build_libs/lib" --enable-static --disable-shared $OPTIONS