summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--wscript3
1 files changed, 2 insertions, 1 deletions
diff --git a/wscript b/wscript
index e77b01a..14b91ff 100644
--- a/wscript
+++ b/wscript
@@ -152,10 +152,11 @@ def build(bld):
bld.add_group()
bld_dir = os.path.join(out, APPNAME)
- pc_path = os.path.abspath(os.path.join(bld_dir, 'ganv-1.pc'))
if not (len(bld.stack_path) > 1): # not top-level
bld_dir = out
+ pc_path = os.path.abspath(os.path.join(bld_dir, 'ganv-1.pc'))
+
gir = bld(
name = 'ganv-gir',
source = ganv_source + bld.path.ant_glob('ganv/*.h'),