summaryrefslogtreecommitdiff
path: root/core/zlib
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2016-04-17 16:40:50 -0700
committerMichael Forney <mforney@mforney.org>2016-04-17 16:40:50 -0700
commit586aaef98da90c1bee54b3bbdc2ce5ee94643257 (patch)
tree187abea042af95da7c311d5b2698f863eda43be5 /core/zlib
parentd61ab4a770f09dcb5520929713edc5abcfb0a581 (diff)
zlib: Also expose zconf.h
Diffstat (limited to 'core/zlib')
-rw-r--r--core/zlib/gen.rc6
1 files changed, 4 insertions, 2 deletions
diff --git a/core/zlib/gen.rc b/core/zlib/gen.rc
index c52c1a32..e2035c1b 100644
--- a/core/zlib/gen.rc
+++ b/core/zlib/gen.rc
@@ -21,5 +21,7 @@ static_lib libz.a\
gzread.c\
gzwrite.c
-build '$outdir'/include/zlib.h copy '$srcdir'/zlib.h
-phony headers include/zlib.h
+# Only expose the headers needed to build with zlib.
+hdrs=(zlib.h zconf.h)
+for(hdr in $hdrs) build '$outdir'/include/$hdr copy '$srcdir'/$hdr
+phony headers include/$hdrs