diff options
author | Otto Kekäläinen <otto@mariadb.org> | 2016-11-13 01:10:41 +0200 |
---|---|---|
committer | Otto Kekäläinen <otto@mariadb.org> | 2016-11-20 10:51:14 +0200 |
commit | dcfe6cb834b8106e384e24ac038cf6a6456fa9ee (patch) | |
tree | 36e2f4a1d9859c551e642491028dbf447f17781e /debian/rules | |
parent | 2bcc16c17b290d319364bd4c75be8140b5e3c29f (diff) | |
download | mariadb-git-dcfe6cb834b8106e384e24ac038cf6a6456fa9ee.tar.gz |
Deb: make libmariadb3 to provide the libmariadbclient.so.18 link
In Debian many existing applications in Debian/Ubuntu have been built
while libmariadbclient-dev or libmariadbclient-dev-compat was installed.
To satisfy installation dependencies, the package name libmariadbclient18
must be provided, and at runtime a shared library must by the name
libmariadbclient.so.18.
Provide these to remain backwards compatible.
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules index f85dcdeccfc..3ab308b8d73 100755 --- a/debian/rules +++ b/debian/rules @@ -157,6 +157,9 @@ override_dh_auto_install: # install Apport hook install -D -m 644 debian/mariadb-server-10.2.py $(TMP)/usr/share/apport/package-hooks/source_mariadb-10.2.py + # Install libmariadbclient18 compatibility links + ln -s /usr/lib/$(DEB_HOST_MULTIARCH)/libmariadb.so.3 $(TMP)/usr/lib/$(DEB_HOST_MULTIARCH)/libmariadbclient.so.18 + touch $@ override_dh_installlogrotate-arch: |