From fdc31419980f80423982bd21efb4793779739227 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 9 Feb 2016 18:34:56 +0100 Subject: [PATCH] rpi-userland: set rpath properly. --- srcpkgs/rpi-userland/template | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/srcpkgs/rpi-userland/template b/srcpkgs/rpi-userland/template index 660c8426234..859a39291ab 100644 --- a/srcpkgs/rpi-userland/template +++ b/srcpkgs/rpi-userland/template @@ -4,7 +4,7 @@ _gitshort="${_githash:0:7}" pkgname=rpi-userland version=20160205 -revision=1 +revision=2 wrksrc="userland-${_githash}" build_style=cmake hostmakedepends="cmake" @@ -15,7 +15,7 @@ homepage="https://github.com/raspberrypi/userland" distfiles="https://github.com/raspberrypi/userland/archive/${_githash}.tar.gz" checksum=5c25eb4de5feb11fdf74d58779f4cc615cda6623b81648ae15ae5e4ddf94c5ce -LDFLAGS="-Wl,--no-as-needed" +LDFLAGS="-Wl,--no-as-needed -Wl,-rpath /opt/vc/lib" only_for_archs="armv6l armv6l-musl armv7l armv7l-musl" @@ -37,14 +37,14 @@ shlib_provides=" libGLESv2.so libEGL.so" +post_extract() { + mkdir -p /opt/vc/lib +} post_install() { vmkdir usr/lib/pkgconfig vcopy ${FILESDIR}/*.pc usr/lib/pkgconfig rm -rf ${DESTDIR}/etc rm -rf ${DESTDIR}/opt/vc/share - - vmkdir etc/ld.so.conf.d - echo "/opt/vc/lib" > ${DESTDIR}/etc/ld.so.conf.d/${pkgname}.conf } rpi-userland-devel_package() {