summaryrefslogtreecommitdiffstats
path: root/autowaf.py
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-07-09 19:05:54 +0000
committerDavid Robillard <d@drobilla.net>2012-07-09 19:05:54 +0000
commitdc0200b4aaaf6ac8244e15e48253a4b7225d13f9 (patch)
tree63962efd782db9abdb0324a3951797e885804da3 /autowaf.py
parent563a1d5b79d346b35a7dd114f806804b2b86641d (diff)
downloadautowaf-dc0200b4aaaf6ac8244e15e48253a4b7225d13f9.tar.gz
autowaf-dc0200b4aaaf6ac8244e15e48253a4b7225d13f9.tar.bz2
autowaf-dc0200b4aaaf6ac8244e15e48253a4b7225d13f9.zip
Don't run ldconfig when destdir is given as option.
git-svn-id: http://svn.drobilla.net/autowaf@72 e2e4594f-ea7b-45dc-bc5a-5f5301e603aa
Diffstat (limited to 'autowaf.py')
-rw-r--r--autowaf.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/autowaf.py b/autowaf.py
index 7f40783..6b9cfa3 100644
--- a/autowaf.py
+++ b/autowaf.py
@@ -632,7 +632,8 @@ def run_ldconfig(ctx):
if (ctx.cmd == 'install'
and not ctx.env['RAN_LDCONFIG']
and ctx.env['LIBDIR']
- and not 'DESTDIR' in os.environ):
+ and not 'DESTDIR' in os.environ
+ and not Options.options.destdir):
try:
Logs.info("Waf: Running `/sbin/ldconfig %s'" % ctx.env['LIBDIR'])
subprocess.call(['/sbin/ldconfig', ctx.env['LIBDIR']])