Limbo
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
FindZlib.mk File Reference

find Zlib library given ZLIB_DIR, set ZLIB_LINK_FLAG to either STATIC_LINK_FLAG or DYNAMIC_LINK_FLAG More...

Go to the source code of this file.

Detailed Description

find Zlib library given ZLIB_DIR, set ZLIB_LINK_FLAG to either STATIC_LINK_FLAG or DYNAMIC_LINK_FLAG

It check whether Zlib library is installed as static library. If so, link to static library; otherwise, link to shared library. Use following command in the Makefile to view the results

$(info Zlib: ZLIB_LINK_FLAG = $(ZLIB_LINK_FLAG))
Author
Yibo Lin
Date
Jan 2017
Parameters
ZLIB_DIRgiven path to Zlib library
ZLIB_LINK_FLAGset linking flag to Zlib

Definition in file FindZlib.mk.