define AL_LIBTYPE_STATIC when necessary on Windows

This commit is contained in:
Roza 2020-12-27 03:28:13 -05:00
parent 0b069892ce
commit 90586f456c

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(';')