hc
2024-03-26 e9199a72d842cbda78ac614eee5db7cdaa6f2530
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh -e
 
[ $# -lt 1 ] && {
   echo "usage: $0 <dest dir>"
   exit 1
}
 
BUILD_DIR="${MESON_BUILD_ROOT:-build}"
DEST_DIR="${MESON_INSTALL_DESTDIR_PREFIX:-/usr}/$1"
 
# Cleanup wrappers
cd "$DEST_DIR"
for f in $(cd $BUILD_DIR && find . -maxdepth 1 -type f -name "lib*.so.[0-9]"); do
   cp -a libmali.so $f
done
 
exit 0