build: enable pmdinfogen for Windows

Remove platform restriction when building drivers.

Signed-off-by: Dmitry Kozlyuk <dmitry.kozliuk@gmail.com>
Tested-by: Jie Zhou <jizh@microsoft.com>
This commit is contained in:
Dmitry Kozlyuk 2021-01-08 05:47:23 +03:00 committed by Thomas Monjalon
parent e6e9730c70
commit 6b19edcb66

View File

@ -120,7 +120,6 @@ foreach subpath:subdirs
# lib and then running pmdinfogen on the contents of
# that lib. The final lib reuses the object files and
# adds in the new source file.
if not is_windows
out_filename = lib_name + '.pmd.c'
tmp_lib = static_library('tmp_' + lib_name,
sources,
@ -133,7 +132,6 @@ foreach subpath:subdirs
'@OUTPUT@', pmdinfogen],
output: out_filename,
depends: [tmp_lib])
endif
# now build the static driver
static_lib = static_library(lib_name,