summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2009-06-10 17:13:55 -0400
committerJoey Hess <joey@gnu.kitenet.net>2009-06-10 17:13:55 -0400
commit77334e766300401b6fe512fd9a758c0fd5819db4 (patch)
tree53496d3699164e9d9d7b50a8fb1ac4f9ab0d5e7f
parentf9a52839c6ee980150ecfd8dbf26cef1e7dc0122 (diff)
dh_shlibdeps: run dpkg-shlibdeps on OCaml's *.cmxs files
-rw-r--r--debian/changelog4
-rwxr-xr-xdh_shlibdeps2
2 files changed, 3 insertions, 3 deletions
diff --git a/debian/changelog b/debian/changelog
index f057c5a..4892e58 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,7 +1,7 @@
debhelper (7.2.15) UNRELEASED; urgency=low
- * dh_strip: Also strip OCaml shared libraries. (Stephane Glondu)
- Closes: #527272
+ * dh_strip, dh_shlibdeps: Add support for OCaml shared libraries.
+ (Stephane Glondu) Closes: #527272, #532701
* dh_compress: Avoid compressing .svg and .sgvz files, since these
might be used as images on a html page, and also to avoid needing
to special case the .svgz extention when compressing svg.
diff --git a/dh_shlibdeps b/dh_shlibdeps
index 7b974eb..3ab8981 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