define AL_LIBTYPE_STATIC when necessary on Windows

This commit is contained in:
Struma 2020-12-27 03:28:13 -05:00 committed by Roza
parent 056f4dcf0c
commit 73cac7695d

View file

@ -37,6 +37,7 @@ if build_static == true
explicit_libs += 'libfreetype;libbz2;libharfbuzz;libgraphite2;'
explicit_libs += 'libjpeg;libpng;libtiff;libwebp;liblzma;libzstd;'
global_link_args += '-static'
global_args += '-DAL_LIBTYPE_STATIC'
endif
foreach l : explicit_libs.split(';')