]> git.donarmstrong.com Git - debhelper.git/blobdiff - dh_shlibdeps
dh_shlibdeps: run dpkg-shlibdeps on OCaml's *.cmxs files
[debhelper.git] / dh_shlibdeps
index 7b974eb8dce0c5768981c2bedfd67b2890390e5a..3ab89818d3614a9c15aa69ce5ab48d0d6d2a012a 100755 (executable)
@@ -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