Fix pkg-config prefix for travis

This commit is contained in:
Sebastian Dröge 2017-08-18 13:14:19 +03:00
parent 9f9307360c
commit b04215bfff

View file

@ -24,7 +24,7 @@ script:
before_install: before_install:
- curl -L https://people.freedesktop.org/~slomo/gstreamer.tar.gz | tar xz - curl -L https://people.freedesktop.org/~slomo/gstreamer.tar.gz | tar xz
- sed -i "s;prefix=/root/gstreamer;prefix=$PWD/gstreamer;g" $PWD/gstreamer/lib/pkgconfig/*.pc
- export PKG_CONFIG_PATH=$PWD/gstreamer/lib/pkgconfig - export PKG_CONFIG_PATH=$PWD/gstreamer/lib/pkgconfig
- export GST_PLUGIN_SYSTEM_PATH=$PWD/gstreamer/lib/gstreamer-1.0 - export GST_PLUGIN_SYSTEM_PATH=$PWD/gstreamer/lib/gstreamer-1.0
- export PATH=$PATH:$PWD/gstreamer/bin - export PATH=$PATH:$PWD/gstreamer/bin
- export RUSTFLAGS=-L$PWD/gstreamer/lib