From 586aaef98da90c1bee54b3bbdc2ce5ee94643257 Mon Sep 17 00:00:00 2001 From: Michael Forney Date: Sun, 17 Apr 2016 16:40:50 -0700 Subject: zlib: Also expose zconf.h --- core/zlib/gen.rc | 6 ++++-- 1 file 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 -- cgit v1.2.3