diff options
Diffstat (limited to 'libz/libz/buildfile')
-rw-r--r-- | libz/libz/buildfile | 7 |
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). |