Vala: Add missing FeatureNew() when C is missing
It was previously an hard error, only permitted since 0.59.0.
This commit is contained in:
parent
a5b43aa16c
commit
a9959a3859
|
@ -1192,6 +1192,7 @@ external dependencies (including libraries) must go to "dependencies".''')
|
|||
langs = set(self.coredata.compilers[for_machine].keys())
|
||||
langs.update(args)
|
||||
if 'vala' in langs and 'c' not in langs:
|
||||
FeatureNew('Adding Vala language without C', '0.59.0').use(self.subproject)
|
||||
args.append('c')
|
||||
|
||||
success = True
|
||||
|
|
Loading…
Reference in New Issue