gccdeps: Harden class wrapping

Explicitly import the asm, C, and CXX modules to ensure the classes
are registered on the Task base class. This hardens the wrapping
logic against failures as the result of incorrect import ordering.
This commit is contained in:
Andrew Malachowski 2022-08-31 11:36:02 +00:00
parent b0dc159bc4
commit 7cb7759139
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ Usage::
import os, re, threading
from waflib import Task, Logs, Utils, Errors
from waflib.Tools import c_preproc
from waflib.Tools import asm, c, c_preproc, cxx
from waflib.TaskGen import before_method, feature
lock = threading.Lock()