summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules5
1 files changed, 4 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules
index 9bfe309..5d684de 100755
--- a/debian/rules
+++ b/debian/rules
@@ -78,7 +78,7 @@ override_dh_auto_install-arch:
test -e debian/tmp/$$mp && echo $$mp >> debian/libsane-common.install; done }
# Empty dependency_libs in all .la files
find debian/tmp/usr -name "*.la" -type f -exec sed -e "s,^dependency_libs=.*,dependency_libs=''," -i {} \;
-
+ find debian -name "*.la" -type f -exec sed -i "/dependency_libs/ s/'.*'/''/" -i {} \;
override_dh_install-arch:
dh_install
@@ -138,3 +138,6 @@ override_dh_strip-arch:
override_dh_makeshlibs-arch:
dh_makeshlibs -- -v$(VERSION) -Pdebian/libsane -plibsane
+ # Empty dependency_libs in all .la files
+ find debian/tmp/usr -name "*.la" -type f -exec sed -e "s,^dependency_libs=.*,dependency_libs=''," -i {} \;
+ find debian -name "*.la" -type f -exec sed -i "/dependency_libs/ s/'.*'/''/" -i {} \;