]> git.armaanb.net Git - asd-repo.git/blob - junk/x264/build
mpv: move to junk
[asd-repo.git] / junk / x264 / build
1 #!/bin/sh -e
2
3 export CC="${CC:-cc}"
4 export CXX="${CC:-c++}"
5
6 sed -i '/cltostr/d' Makefile
7 patch -p1 < x264-no-bash.patch
8
9 ./configure \
10     --prefix=/usr \
11     --disable-swscale \
12     --enable-static \
13     --enable-pic \
14     --enable-shared \
15     --disable-opencl
16
17 gmake
18 gmake DESTDIR="$1" install