diff options
author | David Robillard <d@drobilla.net> | 2012-07-09 19:05:54 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-07-09 19:05:54 +0000 |
commit | dc0200b4aaaf6ac8244e15e48253a4b7225d13f9 (patch) | |
tree | 63962efd782db9abdb0324a3951797e885804da3 | |
parent | 563a1d5b79d346b35a7dd114f806804b2b86641d (diff) | |
download | autowaf-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
-rw-r--r-- | autowaf.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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']]) |