Merge pull request #29463 from womfoo/fix-build/freeswitch

freeswitch: fix build
This commit is contained in:
Franz Pletz 2017-09-17 21:29:58 +02:00 committed by GitHub
commit 7db2916648

View File

@ -9,7 +9,11 @@ stdenv.mkDerivation rec {
url = "http://files.freeswitch.org/freeswitch-releases/${name}.tar.bz2";
sha256 = "071g7229shr9srwzspx29fcx3ccj3rwakkydpc4vdf1q3lldd2ld";
};
postPatch = "patchShebangs libs/libvpx/build/make/rtcd.pl";
postPatch = ''
patchShebangs libs/libvpx/build/make/rtcd.pl
substituteInPlace libs/libvpx/build/make/configure.sh \
--replace AS=\''${AS} AS=yasm
'';
buildInputs = [
openssl ncurses curl pkgconfig gnutls readline perl libjpeg