From: Ian Jackson Date: Sat, 26 Sep 2015 00:34:39 +0000 (+0000) Subject: Debian build: Fix .so symlinks X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=a4f73ea5d7f7bace2408baa040b80e964dea3704;hp=2f86ed073b14a5faae4b9b45bd94f22abd96555f;p=wiringPi.git 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 --- 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} \