mirror of https://gitlab.com/ita1024/waf.git
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:
parent
b0dc159bc4
commit
7cb7759139
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue