aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/mysql/APKBUILD9
1 files changed, 7 insertions, 2 deletions
diff --git a/main/mysql/APKBUILD b/main/mysql/APKBUILD
index e9f2da3d62..bec37cd6ba 100644
--- a/main/mysql/APKBUILD
+++ b/main/mysql/APKBUILD
@@ -74,9 +74,14 @@ libmysqlclient() {
# some files moved
replaces="mysql"
mkdir -p "$subpkgdir"/usr/lib/mysql || return 1
- mv "$pkgdir"/usr/lib/libmysqlclient.so* \
- "$pkgdir"/usr/lib/libmysqlclient_r.so* \
+ mv "$pkgdir"/usr/lib/mysql/libmysqlclient.so* \
+ "$pkgdir"/usr/lib/mysql/libmysqlclient_r.so* \
"$subpkgdir"/usr/lib/mysql || return 1
+ # make symlinks
+ cd "$subpkgdir"/usr/lib || return 1
+ for i in mysql/*; do
+ ln -s "$i" "${i##*/}" || return 1
+ done
}
test() {