fix gcc libdir

This commit is contained in:
sulincix committed 2022-11-16 20:58:49 +00:00
1 parent 8d6fbeb937
commit 89bc60984e
1 file changed
+4 -2
+4 -2
View File
@@ -61,9 +61,11 @@ build(){
package(){
cd build
make install -j`nproc`
mkdir -p ${DESTDIR}/usr/lib64/
# move lib to lib64
mv ${DESTDIR}/usr/{lib,lib64}
cp -prf ${DESTDIR}/usr/lib/* ${DESTDIR}/usr/lib64/
rm -rf ${DESTDIR}/usr/lib/
# strip all binaries for minimize size
find ${DESTDIR} -type f -exec strip {} \; || true
find ${DESTDIR} -type f -exec strip {} \; 2>/dev/null || true
}