mirror of
https://github.com/fadden/nulib2.git
synced 2024-06-10 01:29:30 +00:00
Define ZLIB_DLL when we're including ZLIB. If an application is including
nufxlib as a DLL, it probably wants to include zlib as a DLL too, rather than having it statically embedded in nufxlib.
This commit is contained in:
parent
4c24cb0c9f
commit
2ba8f133b6
|
@ -26,7 +26,7 @@ MY_BUILD_FLAGS=
|
||||||
|
|
||||||
MY_LIB_FLAGS=
|
MY_LIB_FLAGS=
|
||||||
!ifdef LIBZ
|
!ifdef LIBZ
|
||||||
MY_BUILD_FLAGS = $(MY_BUILD_FLAGS) /D "ENABLE_DEFLATE"
|
MY_BUILD_FLAGS = $(MY_BUILD_FLAGS) /D "ENABLE_DEFLATE" /D "ZLIB_DLL"
|
||||||
MY_LIB_FLAGS = zlib.lib $(MY_LIB_FLAGS)
|
MY_LIB_FLAGS = zlib.lib $(MY_LIB_FLAGS)
|
||||||
!endif
|
!endif
|
||||||
!ifdef LIBBZ2
|
!ifdef LIBBZ2
|
||||||
|
|
Loading…
Reference in New Issue
Block a user