libdir drop custom directory
This commit is contained in:
1 parent
5a3009dd0d
commit
de4e838a9e
46 files changed
+70
-200
No files matched your search
@@ -25,12 +25,12 @@ prepare(){
|
||||
|
||||
setup(){
|
||||
./configure --prefix=/usr \
|
||||
--libdir=/usr/lib64/libxcrypt \
|
||||
--libdir=/lib64 \
|
||||
--enable-hashes=strong,glibc \
|
||||
--enable-obsolete-api=glibc
|
||||
cd ../$name-compat
|
||||
./configure --prefix=/usr \
|
||||
--libdir=/usr/lib64/libxcrypt \
|
||||
--libdir=/lib64 \
|
||||
--enable-hashes=strong,glibc \
|
||||
--enable-obsolete-api=no
|
||||
}
|
||||
@@ -45,8 +45,5 @@ package(){
|
||||
make install -j`nproc`
|
||||
cd ../$name-compat
|
||||
make install -j`nproc`
|
||||
mkdir -p ${DESTDIR}/etc/ld.so.conf.d/
|
||||
echo "/usr/lib64/libxcrypt/" > ${DESTDIR}/etc/ld.so.conf.d/libxcrypt.conf
|
||||
mv ${DESTDIR}/usr/lib64/{$name/pkgconfig,}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user