summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/changelog2
-rwxr-xr-xdh_illumos_gate3
2 files changed, 5 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index 5032678..69ab2dd 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,8 @@ dh-illumos (9.4) UNRELEASED; urgency=low
* Append $($(MACH)_AS_XARCH) to $(COMPILE.s)
to make sure macros like __amd64 are undefined
for pure assembler too.
+ * Extract usr/src/lib/Makefile* if any library is
+ being extracted and -B option is given
-- Igor Pashev <pashev.igor@gmail.com> Fri, 26 Oct 2012 01:09:24 +0400
diff --git a/dh_illumos_gate b/dh_illumos_gate
index c750688..f92bce8 100755
--- a/dh_illumos_gate
+++ b/dh_illumos_gate
@@ -141,6 +141,9 @@ if (@ARGV) {
'usr/src/common/mapfiles',
'usr/src/tools/scripts/bldenv.sh',
);
+ if (grep {m|.*usr/src/lib/.*|} @ARGV) {
+ push @to_extract, 'usr/src/lib/Makefile*'
+ }
}
push @to_extract, map {m,(?:illumos-gate/)?(.*),; $1} @ARGV;
} else {