summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorVicențiu Ciorbaru <vicentiu@mariadb.org>2020-03-08 16:19:43 +0200
committerVicențiu Ciorbaru <vicentiu@mariadb.org>2020-03-08 16:19:43 +0200
commitfd2dc9c3fdfb73fa450db9fecd72044bb0554040 (patch)
tree9ca4f51df4e6f9dc5e8b18769399176557b5ac49 /debian
parent1d99e4d674467d612ddce5f8436de0625356a8df (diff)
downloadmariadb-git-fd2dc9c3fdfb73fa450db9fecd72044bb0554040.tar.gz
Correctly link mysqlclient.pc to mariadb.pc under multi-arch support
Diffstat (limited to 'debian')
-rw-r--r--debian/control1
-rw-r--r--debian/libmariadb-dev-compat.links3
2 files changed, 3 insertions, 1 deletions
diff --git a/debian/control b/debian/control
index 18fea70f073..64034c831c9 100644
--- a/debian/control
+++ b/debian/control
@@ -7,6 +7,7 @@ Build-Depends: bison,
cmake (>= 2.7),
debhelper (>= 9),
dh-apparmor,
+ dh-exec,
dh-systemd,
gdb,
libaio-dev [linux-any],
diff --git a/debian/libmariadb-dev-compat.links b/debian/libmariadb-dev-compat.links
index 11e0dbce225..e02260c0129 100644
--- a/debian/libmariadb-dev-compat.links
+++ b/debian/libmariadb-dev-compat.links
@@ -1,3 +1,4 @@
+#!/usr/bin/dh-exec
usr/bin/mariadb_config usr/bin/mysql_config
usr/include/mariadb usr/include/mysql
-usr/share/pkgconfig/mariadb.pc usr/share/pkgconfig/mysqlclient.pc
+usr/lib/${DEB_HOST_MULTIARCH}/pkgconfig/mariadb.pc usr/lib/${DEB_HOST_MULTIARCH}/pkgconfig/mysqlclient.pc