summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-04-17 01:00:30 +0000
committerDavid Robillard <d@drobilla.net>2012-04-17 01:00:30 +0000
commitc554d1a5c489db95c424ce4910de568b8a885e63 (patch)
tree61c7c6ef250146a64c2fa845e19933f4c7b6a548 /wscript
parent4c85f24f8d3e143aa9f36e7947b66522a1261cc3 (diff)
downloadganv-c554d1a5c489db95c424ce4910de568b8a885e63.tar.gz
ganv-c554d1a5c489db95c424ce4910de568b8a885e63.tar.bz2
ganv-c554d1a5c489db95c424ce4910de568b8a885e63.zip
Python 2.4 fixes.
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@4186 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'wscript')
-rw-r--r--wscript7
1 files changed, 4 insertions, 3 deletions
diff --git a/wscript b/wscript
index 04414e1..e77b01a 100644
--- a/wscript
+++ b/wscript
@@ -151,9 +151,10 @@ def build(bld):
if bld.is_defined('HAVE_GIR'):
bld.add_group()
- top_level = (len(bld.stack_path) > 1)
- bld_dir = os.path.join(out, APPNAME) if top_level else out
- pc_path = os.path.abspath(os.path.join(bld_dir, 'ganv-1.pc'))
+ 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
gir = bld(
name = 'ganv-gir',