diff --git a/cl_dll/wscript b/cl_dll/wscript index 3ada920a..fb14661d 100644 --- a/cl_dll/wscript +++ b/cl_dll/wscript @@ -62,5 +62,5 @@ def build(bld): use = libs, install_path = install_path, subsystem = bld.env.MSVC_SUBSYSTEM, - idx = 1 + idx = bld.get_taskgen_count() ) diff --git a/dlls/wscript b/dlls/wscript index b1c8cffa..5fb8dc02 100644 --- a/dlls/wscript +++ b/dlls/wscript @@ -68,5 +68,5 @@ def build(bld): use = libs, install_path = install_path, subsystem = bld.env.MSVC_SUBSYSTEM, - idx = 2 + idx = bld.get_taskgen_count() ) diff --git a/wscript b/wscript index f3b268f0..937de04a 100644 --- a/wscript +++ b/wscript @@ -13,6 +13,12 @@ top = '.' Context.Context.line_just = 55 # should fit for everything on 80x26 +@Configure.conf +def get_taskgen_count(self): + try: idx = self.tg_idx_count + except: idx = 0 # don't set tg_idx_count to not increase counter + return idx + def options(opt): grp = opt.add_option_group('Common options')