jdahlin helped me debug the problem from comment #1. It's because valac doesn't set the shared-library attribute on the <namespace> element in the GIR. See fx. from Gtk-3.0.gir:
<namespace name="Gtk" version="3.0" shared-library="libgtk-3.so.0" c:identifier-prefixes="Gtk" c:symbol-prefixes="gtk">
So we can sed this in the Makefile for now, until we've cooked up a patch for valac. I'll file an upstream valac bug.
jdahlin helped me debug the problem from comment #1. It's because valac doesn't set the shared-library attribute on the <namespace> element in the GIR. See fx. from Gtk-3.0.gir:
<namespace name="Gtk"
version= "3.0"
shared- library= "libgtk- 3.so.0"
c:identifier- prefixes= "Gtk"
c:symbol- prefixes= "gtk">
So we can sed this in the Makefile for now, until we've cooked up a patch for valac. I'll file an upstream valac bug.