diff options
author | Bermond | 2016-01-09 18:16:39 -0200 |
---|---|---|
committer | Bermond | 2016-01-09 18:16:39 -0200 |
commit | 421833f553b99dafa8cb47bf42448ec58895197b (patch) | |
tree | 09582aa12f175ea1e30efa7518a10050057beda7 /PKGBUILD | |
parent | 48d3a025be7c168f2fa85bf06f71bba58199a5b0 (diff) | |
download | aur-421833f553b99dafa8cb47bf42448ec58895197b.tar.gz |
libmfx fix: added rpath reference to intel-media-sdk
Diffstat (limited to 'PKGBUILD')
-rwxr-xr-x | PKGBUILD | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -13,7 +13,7 @@ # flite-fpic libmfx-git intel-media-sdk blackmagic-decklink-sdk nvidia-sdk pkgname=ffmpeg-full-git -pkgver=N.77779.gcbcc88c +pkgver=N.77780.gcbad37e pkgrel=1 pkgdesc="Record, convert and stream audio and video (Git version with all possible libs)" arch=('i686' 'x86_64') @@ -75,6 +75,7 @@ build() { ./configure \ --prefix=/usr \ --extra-cflags="-I/usr/include/nvidia-sdk" \ + --extra-ldflags="-Wl,-rpath -Wl,/opt/intel/mediasdk/lib64" \ \ --enable-rpath \ --enable-gpl \ @@ -168,10 +169,11 @@ build() { --enable-openssl \ --enable-x11grab - # Remove directory references in "--prefix" and "--extra-cflags" options from the - # configuration string that is presented in command line: + # Remove directory references in "--prefix", "--extra-cflags" and "--extra-ldflags" + # options from the configuration string that is presented in command line: sed -i 's,--prefix=/usr ,,g' config.h sed -i 's,--extra-cflags=-I/usr/include/nvidia-sdk ,,g' config.h + sed -i "s|--extra-ldflags='-Wl,-rpath -Wl,/opt/intel/mediasdk/lib64' ||g" config.h make |