libdir fixes

This commit is contained in:
aliriza committed 2022-12-06 07:44:41 +00:00
1 parent 4e4707a54c
commit 9d223fa7dd
44 files changed
+105 -63

No files matched your search

+3 -2
View File
@@ -19,7 +19,7 @@ zlib_depends=(zlib)
setup() {
cmake -S $name-$version -B build \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=/usr/lib64 \
-DCMAKE_INSTALL_LIBDIR=/usr/lib64/libssh \
-DWITH_EXAMPLES=NO \
-DBUILD_SHARED_LIBS=YES \
-DBUILD_STATIC_LIB=YES \
@@ -37,5 +37,6 @@ build() {
}
package() {
make -C build install
install build/src/libssh.a ${DESTDIR}/usr/lib64/
install build/src/libssh.a ${DESTDIR}/usr/lib64/libssh/
echo "/usr/lib64/libssh/" > ${DESTDIR}/etc/ld.so.conf.d/libssh.conf
}