]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
Fix Path.build_path call used for --includedir
authorRaul Gutierrez Segales <rgs@collabora.co.uk>
Tue, 6 Sep 2011 13:32:56 +0000 (14:32 +0100)
committerJürg Billeter <j@bitron.ch>
Tue, 6 Sep 2011 14:01:03 +0000 (16:01 +0200)
Commit af0aa50c misses the separator for Path.build_path.

Fixes bug 658355.

vala/valasourcefile.vala

index 1bec9a23776cf0322308c2d4cd2ec7c630ded378..97cde15d8e4305d3e4893f78cb523431fff4522c 100644 (file)
@@ -235,7 +235,7 @@ public class Vala.SourceFile {
                        if (context.header_filename != null) {
                                cinclude_filename = Path.get_basename (context.header_filename);
                                if (context.includedir != null) {
-                                       cinclude_filename = Path.build_path (context.includedir, cinclude_filename);
+                                       cinclude_filename = Path.build_path ("/", context.includedir, cinclude_filename);
                                }
                        } else {
                                cinclude_filename = Path.build_path ("/", get_subdir (), get_basename () + ".h");