The API and ABI isn't as stable as we need, so it isn't safe to link it dynamically even on Linux.tags/v1.9.90
set(BUILD_STATIC_GCC 1) | set(BUILD_STATIC_GCC 1) | ||||
set(JPEG_LIBRARIES "-Wl,-Bstatic -ljpeg -Wl,-Bdynamic") | set(JPEG_LIBRARIES "-Wl,-Bstatic -ljpeg -Wl,-Bdynamic") | ||||
if(WIN32) | |||||
set(ZLIB_LIBRARIES "-Wl,-Bstatic -lz -Wl,-Bdynamic") | |||||
endif() | |||||
set(ZLIB_LIBRARIES "-Wl,-Bstatic -lz -Wl,-Bdynamic") | |||||
# gettext is included in libc on many unix systems | # gettext is included in libc on many unix systems | ||||
if(NOT LIBC_HAS_DGETTEXT) | if(NOT LIBC_HAS_DGETTEXT) |