From 77334e766300401b6fe512fd9a758c0fd5819db4 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 10 Jun 2009 17:13:55 -0400 Subject: dh_shlibdeps: run dpkg-shlibdeps on OCaml's *.cmxs files --- dh_shlibdeps | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dh_shlibdeps') diff --git a/dh_shlibdeps b/dh_shlibdeps index 7b974eb8..3ab89818 100755 --- a/dh_shlibdeps +++ b/dh_shlibdeps @@ -121,7 +121,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) { if (defined($dh{EXCLUDE_FIND}) && $dh{EXCLUDE_FIND} ne '') { $find_options="! \\( $dh{EXCLUDE_FIND} \\)"; } - foreach my $file (split(/\n/,`find $tmp -type f \\( -perm +111 -or -name "*.so*" \\) $find_options -print`)) { + foreach my $file (split(/\n/,`find $tmp -type f \\( -perm +111 -or -name "*.so*" -or -name "*.cmxs" \\) $find_options -print`)) { # Prune directories that contain separated debug symbols. next if $file=~m!^\Q$tmp\E/usr/lib/debug/(lib|lib64|usr|bin|sbin|opt|dev|emul)/!; # TODO this is slow, optimize. Ie, file can run once on -- cgit v1.2.3