AP_DAL: move from ENABLE_SCRIPTING to AP_SCRIPTING_ENABLED

This commit is contained in:
Peter Barker 2021-11-15 16:08:27 +11:00 committed by Peter Barker
parent a729ba165e
commit 13dc37fdcc
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ def build(bld):
)
# only valid to build with no GCS and no scripting
if '-DHAL_GCS_ENABLED=0' in bld.env.CXXFLAGS and 'ENABLE_SCRIPTING=1' not in bld.env.DEFINES:
if '-DHAL_GCS_ENABLED=0' in bld.env.CXXFLAGS and 'AP_SCRIPTING_ENABLED=1' not in bld.env.DEFINES:
bld.ap_program(
program_groups=['tool'],
use='AP_DAL_libs',