aboutsummaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
Diffstat (limited to 'debian')
-rwxr-xr-xdebian/rules6
1 files changed, 6 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
index e355a09..2e0ece7 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,3 +4,9 @@ include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/rules/autoreconf.mk
include /usr/share/cdbs/1/rules/clean-la.mk
include /usr/share/cdbs/1/class/autotools.mk
+
+# Remove .a and .la files from /lib/security
+binary-post-install/libpam-x2go::
+ find $(DEB_DESTDIR)/lib/security -type f \
+ \( -name '*.a' -o -name '*.la' \) \
+ -exec rm '{}' + \ No newline at end of file