1
1
Fork 0
mirror of https://github.com/QB64Official/qb64.git synced 2024-07-04 22:20:24 +00:00

Gets zlib to link statically in Windows and Linux.

Dynamic linking on macOS is ok since zlib is natively available.
This commit is contained in:
FellippeHeitor 2020-02-07 22:36:30 -03:00
parent 1f52f57610
commit 7ee6a3d810

View file

@ -11666,7 +11666,11 @@ END IF
IF DEPENDENCY(DEPENDENCY_ZLIB) THEN
defines$ = defines$ + defines_header$ + "DEPENDENCY_ZLIB"
libs$ = libs$ + " -lz"
IF MacOSX THEN
libs$ = libs$ + " -lz"
ELSE
libs$ = libs$ + " -l:libz.a"
END IF
END IF
'finalize libs$ and defines$ strings