summaryrefslogtreecommitdiffstats
path: root/admin/generic.py
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2019-09-11 14:42:15 +0200
committerSlávek Banko <slavek.banko@axis.cz>2019-09-11 14:42:15 +0200
commit55c6a30f1ebdf6becbad274f38e951ca13f0a785 (patch)
treec8202c9d491a559931fb41a5dacfe7f32447c036 /admin/generic.py
parent0f6c4cf95e31b5bb2755bd56afc0763c7fcf6305 (diff)
downloadkstreamripper-55c6a30f1ebdf6becbad274f38e951ca13f0a785.tar.gz
kstreamripper-55c6a30f1ebdf6becbad274f38e951ca13f0a785.zip
scons: Replace deprecated Options with Variables.
This resolves FTBFS with SCons >= 3.0.2. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'admin/generic.py')
-rw-r--r--admin/generic.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/admin/generic.py b/admin/generic.py
index e0fa6b1..1897bf0 100644
--- a/admin/generic.py
+++ b/admin/generic.py
@@ -56,10 +56,10 @@ ie: """+BOLD+"""scons configure debug=full prefix=/usr/local extraincludes=/tmp/
print(CYAN+'** Enabling DESTDIR for the project ** ' + NORMAL + env['DESTDIR'])
# load the options
- from SCons.Options import Options, PathOption
+ from SCons.Variables import Variables
cachefile=env['CACHEDIR']+'generic.cache.py'
- opts = Options(cachefile)
- opts.AddOptions(
+ opts = Variables(cachefile)
+ opts.AddVariables(
( 'KDECCFLAGS', 'C flags' ),
( 'KDECXXFLAGS', 'debug level for the project : full or just anything' ),
( 'KDELINKFLAGS', 'additional link flags' ),