Am Dienstag, den 14.08.2007, 21:10 +0200 schrieb Raffaele Sandrini:
On Sat, 2007-08-11 at 09:46 +0200, Mathias Hasselmann wrote:"valac --pkg=math -o test test.vala" fails because math.vala doesn't have a corresponding pkg-config package. Solutions for this problem are: 1) move math.vala into glib.vala 2) special case math.vala in the compiler 3) check that all packages exist before asking pkg-config about flags Attached patch implements the third approach.This seems like a good idea, however compilation results in a linking error since it needs -lm (this can be passed to the C compiler of course).
Hmm. Indeed. Seems I missed that because cairo and GTK+ both link against libm.
So go on and commit this.
Done. Ciao, Mathias -- Mathias Hasselmann <mathias hasselmann gmx de> http://taschenorakel.de/
Attachment:
signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil