rpi-userland: keep /etc/ld.so.conf.d.
This commit is contained in:
parent
f70414734a
commit
3afa953fe3
1 changed files with 5 additions and 4 deletions
|
@ -4,7 +4,7 @@ _gitshort="${_githash:0:7}"
|
|||
|
||||
pkgname=rpi-userland
|
||||
version=0.0.0.0.20150907
|
||||
revision=1
|
||||
revision=2
|
||||
wrksrc="userland-${_githash}"
|
||||
build_style=cmake
|
||||
hostmakedepends="cmake"
|
||||
|
@ -39,13 +39,14 @@ pre_configure() {
|
|||
sed -i '/extern FILE \*stderr/d' host_applications/linux/apps/raspicam/RaspiVidYUV.c
|
||||
}
|
||||
post_install() {
|
||||
vmkdir etc/ld.so.conf.d
|
||||
echo "/opt/vc/lib" > ${DESTDIR}/etc/ld.so.conf.d/${pkgname}.conf
|
||||
|
||||
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() {
|
||||
|
|
Loading…
Reference in a new issue