From 880df4c3b21513d48891d7c73923e3d576928607 Mon Sep 17 00:00:00 2001
From: Thomas Moulard <thomas.moulard@gmail.com>
Date: Thu, 30 Sep 2010 17:31:37 +0200
Subject: [PATCH] Remove useless ldconfig call.

---
 debian/rules | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/debian/rules b/debian/rules
index a4b9d04..cc750be 100755
--- a/debian/rules
+++ b/debian/rules
@@ -15,6 +15,12 @@ export DEB_BUILD_OPTIONS=nocheck
 override_dh_auto_configure:
 	dh_auto_configure -- -DGENERATE_DOC=ON
 
+# Remove useless ldconfig call.
+override_dh_makeshlibs:
+	dh_makeshlibs --
+	rm debian/libsot-dynamic1.0.0.99.postinst.debhelper
+	rm debian/libsot-dynamic1.0.0.99.postrm.debhelper
+
 # FIXME: this is only necessary because some binaries are linked against
 # plug-ins.
 # Teach dh_shlibdeps where the plug-in are located.
-- 
GitLab