@ -1639,7 +1639,7 @@ G_END_DECLS'''
raise MesonException ( f ' Genmarshal does not take a { arg } keyword argument. ' )
raise MesonException ( f ' Genmarshal does not take a { arg } keyword argument. ' )
install_header = kwargs . pop ( ' install_header ' , False )
install_header = kwargs . pop ( ' install_header ' , False )
install_dir = kwargs . pop ( ' install_dir ' , None )
install_dir = kwargs . pop ( ' install_dir ' , [ ] )
custom_kwargs = {
custom_kwargs = {
' input ' : sources ,
' input ' : sources ,
@ -1664,7 +1664,6 @@ G_END_DECLS'''
body = build . CustomTarget ( output + ' _c ' , state . subdir , state . subproject , custom_kwargs )
body = build . CustomTarget ( output + ' _c ' , state . subdir , state . subproject , custom_kwargs )
custom_kwargs [ ' install ' ] = install_header
custom_kwargs [ ' install ' ] = install_header
if install_dir is not None :
custom_kwargs [ ' install_dir ' ] = install_dir
custom_kwargs [ ' install_dir ' ] = install_dir
if new_genmarshal :
if new_genmarshal :
cmd + = [ ' --pragma-once ' ]
cmd + = [ ' --pragma-once ' ]