valac does not respect internal header/vapi setting
@mak
Submitted by Matthias Klumpp Link to original bug (#694809)
Description
Hi! When I compile my project with --internal-header=foobar_internal.h --header=foobar.h --internal-vapi=foobar_internal.vapi, both headers are generated, as well as the internal Vapi file. However, the internal Vapi file references the non-internal header foobar.h, which of course causes problems later when symbols are not found.
At time I solve this manually by postprocessing the generated internal Vapi using sed to replace the header reference. But it would be cool if this hack would not be needed and Vala would do the right thing if a combination of these flags is detected. Thanks! Matthias
Version: 0.19.x