[Vala] Do not pass pure vala packages to pkg-config



"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.

Ciao,
Mathias
-- 
Mathias Hasselmann <mathias hasselmann gmx de>
http://taschenorakel.de/

Attachment: 0001-non-existing-packages.patch
Description: application/mbox

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]