[Vala] Is there a way to specify a prefix path in the vapi file for --library?



It is often the case that each library put it's header file in a
separated subdir to avoid naming conflicting.

For example, glib.h is located at <glib-2.0/glib.h>

However in vala generated library(built by valac) the headers are always
assumed to be in <xxx.h>, as stated in the generated .vapi files.

Is there a parameter in valac to specify this? does -b work?

Best,


Yu




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