diff --git a/vlib/v/gen/c/fn.v b/vlib/v/gen/c/fn.v index e5a3d9ac49..7a6ba5a584 100644 --- a/vlib/v/gen/c/fn.v +++ b/vlib/v/gen/c/fn.v @@ -1612,7 +1612,7 @@ fn (mut g Gen) is_gui_app() bool { return false } for cf in g.table.cflags { - if cf.value == 'gdi32' { + if cf.value.to_lower() == 'gdi32' { return true } }