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:
Andy McFadden 2003-03-09 03:37:06 +00:00
parent 4c24cb0c9f
commit 2ba8f133b6

View File

@ -26,7 +26,7 @@ MY_BUILD_FLAGS=
MY_LIB_FLAGS=
!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)
!endif
!ifdef LIBBZ2