summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2021-03-15 18:14:23 +0100
committerGitHub <noreply@github.com>2021-03-15 18:14:23 +0100
commitf38ef549831277da3af7d2b36d584ec1ef5459c5 (patch)
tree096c1ec2adbb41dcc9556771a97624b1224b3a05 /config
parent7d5b465c5009b7efc82266aeb5426261350888ed (diff)
parent0b03e1dd5c42e2e292dde6968fdaa735f3028093 (diff)
downloadMPC-f38ef549831277da3af7d2b36d584ec1ef5459c5.tar.gz
Merge pull request #128 from jwillemsen/jwi-zlib
Test and support zlib on windows
Diffstat (limited to 'config')
-rw-r--r--config/zlib.mpb19
1 files changed, 13 insertions, 6 deletions
diff --git a/config/zlib.mpb b/config/zlib.mpb
index af7711ac..731935a3 100644
--- a/config/zlib.mpb
+++ b/config/zlib.mpb
@@ -1,14 +1,21 @@
// -*- MPC -*-
feature(zlib) {
- includes += "$(ZLIB_ROOT)/include"
- libpaths += "$(ZLIB_ROOT)/lib"
+ expand(ZLIB_INCDIR) {
+ $ZLIB_INCDIR
+ $(ZLIB_ROOT)/include
+ }
+ expand(ZLIB_LIBDIR) {
+ $ZLIB_LIBDIR
+ $(ZLIB_ROOT)/lib
+ }
+
+ includes += "$(ZLIB_INCDIR)"
+ libpaths += "$(ZLIB_LIBDIR)"
macros += ZLIB
- // @@ Notice: If you are building with Cygwin, you may need to manually
- // change the following library to zlib.
specific(prop:windows) {
- zlibname = zlib
- lit_libs += $(ZLIBNAME)
+ Debug::lit_libs += zlibd
+ Release::lit_libs += zlib
} else {
lit_libs += z
}