summaryrefslogtreecommitdiffstats
path: root/test/module.defs
diff options
context:
space:
mode:
authorBradley Sepos <[email protected]>2021-02-15 07:56:39 -0500
committerBradley Sepos <[email protected]>2021-02-20 16:22:33 -0500
commitb59b412cb95aa12209b1e4bd00c78a7c8a48aeef (patch)
treed20f72edb33db7cb546932495b0b5c6261192fa4 /test/module.defs
parentd3146f221ad89b7701472d7cce98f82a123e260d (diff)
Gate MediaFoundation encoder behind --enable-mf.
Windows (mingw-w64) only for now.
Diffstat (limited to 'test/module.defs')
-rw-r--r--test/module.defs5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/module.defs b/test/module.defs
index ea4ea630f..011b17fb2 100644
--- a/test/module.defs
+++ b/test/module.defs
@@ -89,7 +89,10 @@ ifeq (1,$(HAS.pthread))
else
TEST.GCC.l += pthreadGC2
endif
- TEST.GCC.l += bcrypt iconv ws2_32 regex uuid ole32 mfplat strmiids
+ TEST.GCC.l += bcrypt iconv ws2_32 regex uuid ole32
+ ifeq (1,$(FEATURE.mf))
+ TEST.GCC.l += mfplat strmiids
+ endif
TEST.GCC.D += PTW32_STATIC_LIB
TEST.GCC.args.extra.exe++ += -static
endif # (1-mingw,$(HOST.cross)-$(HOST.system))