From a4f73ea5d7f7bace2408baa040b80e964dea3704 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sat, 26 Sep 2015 00:34:39 +0000 Subject: [PATCH] Debian build: Fix .so symlinks These referred to build location (!) due to dh_install running after the corrected symlinks are made in debian/rules. Signed-off-by: Ian Jackson --- debian/changelog | 2 ++ debian/rules | 2 ++ 2 files changed, 4 insertions(+) diff --git a/debian/changelog b/debian/changelog index 0824686..e39ecdb 100644 --- a/debian/changelog +++ b/debian/changelog @@ -9,6 +9,8 @@ wiringpi (2.28~iwj1) unstable; urgency=medium vulnerabilities, this probably enables all programs on the pi to become root. However, we do this to avoid howls of protest from users whose cgi programs may no longer work, etc. + * Fix .so symlinks not to refer to build location (!) due to dh_install + running after the corrected symlinks are made in debian/rules. -- diff --git a/debian/rules b/debian/rules index 5377918..5333761 100755 --- a/debian/rules +++ b/debian/rules @@ -37,6 +37,8 @@ override_dh_auto_build: dirs bash -xe ./build override_dh_auto_install: + +override_dh_install: dh_install set -ex; for l in libwiringPi libwiringPiDev; do \ ln -sf $$l.so.$${VERSION} \ -- 2.30.2