From 3ef181e5ce08bb286c375512cc4bf7d5b9a0bce9 Mon Sep 17 00:00:00 2001 From: Kp Date: Thu, 4 Jul 2013 03:29:02 +0000 Subject: [PATCH] Make UserSettings.BIN_DIR a property --- SConstruct | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/SConstruct b/SConstruct index a7374eab6..865f8c45c 100644 --- a/SConstruct +++ b/SConstruct @@ -695,10 +695,10 @@ class DXXProgram(DXXCommon): 'transform_target':_apply_target_name, }]) class UserSettings(DXXCommon.UserSettings): - def __init__(self,ARGUMENTS,target): - DXXCommon.UserSettings.__init__(self, ARGUMENTS, target) + @property + def BIN_DIR(self): # installation path - self.BIN_DIR = self.prefix + '/bin' + return self.prefix + '/bin' # Settings to apply to mingw32 builds class Win32PlatformSettings(DXXCommon.Win32PlatformSettings): def __init__(self,program,user_settings):