[vala] Fix Path.build_path call used for --includedir



commit ec17f37aa382bb3544d1b9fc43e4cb480a08e5b1
Author: Raul Gutierrez Segales <rgs collabora co uk>
Date:   Tue Sep 6 14:32:56 2011 +0100

    Fix Path.build_path call used for --includedir
    
    Commit af0aa50c misses the separator for Path.build_path.
    
    Fixes bug 658355.

 vala/valasourcefile.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/vala/valasourcefile.vala b/vala/valasourcefile.vala
index 1bec9a2..97cde15 100644
--- a/vala/valasourcefile.vala
+++ b/vala/valasourcefile.vala
@@ -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");



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