summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct2
1 files changed, 2 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct
index 3930c1198b..1af4cb2a8a 100644
--- a/SConstruct
+++ b/SConstruct
@@ -560,6 +560,8 @@ if os.environ.has_key('DISTCC_HOSTS'):
final_prefix = '$PREFIX'
install_prefix = '$DESTDIR/$PREFIX'
+subst_dict['INSTALL_PREFIX'] = install_prefix;
+
if env['PREFIX'] == '/usr':
final_config_prefix = '/etc'
else: