girepository: fix autoptr tests build

In macOS compilation fails with the following error:
```
In file included from ../girepository/tests/autoptr.c:23:
../girepository/girffi.h:30:10: fatal error: 'ffi.h' file not found
```
This commit is contained in:
Andoni Morales Alastruey 2024-05-28 17:26:38 +02:00
parent 62fb5eb6d4
commit 99382cfb4b

View File

@ -72,6 +72,7 @@ if enable_gir
if cc.get_id() != 'msvc'
girepository_tests += {
'autoptr-girepository' : {
'dependencies': [libffi_dep],
'source' : 'autoptr.c',
'depends': gio_gir_testing_dep,
},