summaryrefslogtreecommitdiff
path: root/libz/libz/buildfile
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2020-02-14 22:57:24 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2020-02-14 22:57:24 +0300
commit7b810d6e47cc1f4e8a5784a5ba2b77450fa6017d (patch)
tree41b1328277d25c6592a01fd5e3c64b6e5978707b /libz/libz/buildfile
parent0963facb52338dd3b11da19c83a616ceb0eba7f2 (diff)
Release version 1.2.1100+1v1.2.1100+1
Drop copyright notice from source code Use adhoc value for zlib.map prerequisite-specific variable include
Diffstat (limited to 'libz/libz/buildfile')
-rw-r--r--libz/libz/buildfile7
1 files changed, 5 insertions, 2 deletions
diff --git a/libz/libz/buildfile b/libz/libz/buildfile
index 0eb118f..32d97e4 100644
--- a/libz/libz/buildfile
+++ b/libz/libz/buildfile
@@ -1,14 +1,17 @@
# file : libz/buildfile
-# copyright : Copyright (c) 2018-2019 Code Synthesis Ltd
# license : zlib License; see accompanying LICENSE file
-lib{z}: {h c}{*} {def}{zlib} {file}{zlib.map}
+lib{z}: {h c}{*} def{zlib}
tclass = $c.target.class
tsys = $c.target.system
+linux = ($tclass == 'linux')
+bsd = ($tclass == 'bsd')
windows = ($tclass == 'windows')
+lib{z}: file{zlib.map}: include = ($linux || $bsd ? adhoc : false)
+
# Include the generated config header into the distribution (so that we don't
# pick up an installed one) and don't remove it when cleaning in src (so that
# clean results in a state identical to distributed).