summaryrefslogtreecommitdiff
path: root/config/zlib.mpb
blob: 731935a33730ed9ab0fc0509ee50eee06391dde1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// -*- MPC -*-
feature(zlib) {
  expand(ZLIB_INCDIR) {
    $ZLIB_INCDIR
    $(ZLIB_ROOT)/include
  }
  expand(ZLIB_LIBDIR) {
    $ZLIB_LIBDIR
    $(ZLIB_ROOT)/lib
  }

  includes += "$(ZLIB_INCDIR)"
  libpaths += "$(ZLIB_LIBDIR)"
  macros   += ZLIB

  specific(prop:windows) {
    Debug::lit_libs += zlibd
    Release::lit_libs += zlib
  } else {
    lit_libs += z
  }
}