Fix build issue on MinGW64

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/1094>
This commit is contained in:
Binh Truong 2021-04-04 21:18:59 +07:00
parent 50c32a8963
commit a5e2883ff0

View file

@ -37,7 +37,7 @@ argn = 1
for arg in sys.argv[1:]:
cmd.append(arg)
argn += 1
if arg.endswith('glib-mkenums'):
if arg.endswith('glib-mkenums') or arg.lower().endswith('glib-mkenums.exe'):
break
ofilename = sys.argv[argn]
headers = sys.argv[argn + 1:]