summary refs log tree commit diff
path: root/pkgs/development/libraries/xine-lib/builder.sh
blob: 484014b3cb4b4d3ad56459509e14d7cdfd9690ff (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
. $stdenv/setup

if test -n "$libdvdcss"; then
    # Ugly hack to force libdvdcss to be present (so the user doesn't
    # have to set LD_LIBRARY_PATH).
    export NIX_LDFLAGS="-rpath $libdvdcss/lib -L$libdvdcss/lib -ldvdcss $NIX_LDFLAGS"
fi

if test -n "$libXv"; then
    configureFlags="--with-xv-path=$libXv/lib $configureFlags"
fi

genericBuild