diff options
author | Jesse Chappell <jesse@essej.net> | 2007-07-03 02:16:55 +0000 |
---|---|---|
committer | Jesse Chappell <jesse@essej.net> | 2007-07-03 02:16:55 +0000 |
commit | 3239d42bdfa5278bce3b9eeab3cb3f20426cd685 (patch) | |
tree | a34c380fab5ac6a5d85333b6a5ba91acda36bc70 /libs | |
parent | b5c8f14271f55a1bef078c6eeeee1fd32f6cd305 (diff) |
updated scons to make powermate optional and defaults to off when not on linux
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2096 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs')
-rw-r--r-- | libs/surfaces/powermate/SConscript | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/libs/surfaces/powermate/SConscript b/libs/surfaces/powermate/SConscript index e6f7e251df..7c023949b1 100644 --- a/libs/surfaces/powermate/SConscript +++ b/libs/surfaces/powermate/SConscript @@ -44,12 +44,13 @@ powermate.Merge ([ libardour_powermate = powermate.SharedLibrary('ardour_powermate', powermate_files) -Default(libardour_powermate) +if powermate['POWERMATE']: + Default(libardour_powermate) -if env['NLS']: - i18n (powermate, powermate_files, env) + if env['NLS']: + i18n (powermate, powermate_files, env) -env.Alias('install', env.Install(os.path.join(install_prefix, 'lib/ardour2/surfaces'), libardour_powermate)) + env.Alias('install', env.Install(os.path.join(install_prefix, 'lib/ardour2/surfaces'), libardour_powermate)) env.Alias('tarball', env.Distribute (env['DISTTREE'], [ 'SConscript' ] + |