diff --git a/libraries/AP_HAL_SITL/wscript b/libraries/AP_HAL_SITL/wscript index d6c6e6a75b..0770f159cb 100644 --- a/libraries/AP_HAL_SITL/wscript +++ b/libraries/AP_HAL_SITL/wscript @@ -1,2 +1,2 @@ def configure(cfg): - cfg.env.DOUBLE_PRECISION_SOURCES['AP_HAL_SITL'] = ['system.cpp'] + cfg.env.DOUBLE_PRECISION_LIBRARIES['AP_HAL_SITL'] = True