summary refs log blame commit diff
path: root/pkgs/development/libraries/xine-lib/builder.sh
blob: 4e39b46ba66cefb425aa44992ade82c1017516ea (plain) (tree)
1
2
3
4
5
6
7
8
                    






                                                                                     



                                                              
           
source $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