pkgconf fix
This commit is contained in:
1 parent
e599e29006
commit
4e4707a54c
1 file changed
+4
-1
@@ -24,7 +24,8 @@ cd $name-$name-$version
|
|||||||
setup(){
|
setup(){
|
||||||
sh ./autogen.sh
|
sh ./autogen.sh
|
||||||
./configure --prefix=/usr \
|
./configure --prefix=/usr \
|
||||||
--libdir=/usr/lib64
|
--libdir=/usr/lib64/pkgconf \
|
||||||
|
--with-pkg-config-dir=/usr/share/pkgconfig:/usr/lib64/pkgconfig:/lib64/pkgconfig
|
||||||
}
|
}
|
||||||
|
|
||||||
build(){
|
build(){
|
||||||
@@ -37,5 +38,7 @@ package(){
|
|||||||
install -Dt "${DESTDIR}/usr/share/pkgconfig/personality.d" -m644 \
|
install -Dt "${DESTDIR}/usr/share/pkgconfig/personality.d" -m644 \
|
||||||
../i686-pc-linux-gnu.personality \
|
../i686-pc-linux-gnu.personality \
|
||||||
../x86_64-pc-linux-gnu.personality
|
../x86_64-pc-linux-gnu.personality
|
||||||
|
mkdir -p ${DESTDIR}/etc/ld.so.conf.d/
|
||||||
|
echo "/usr/lib64/pkgconf/" > ${DESTDIR}/etc/ld.so.conf.d/pkgconf.conf
|
||||||
}
|
}
|
||||||
|
|
||||||
Reference in new issue
Block a user