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:
parent
1f52f57610
commit
7ee6a3d810
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue