aboutsummaryrefslogtreecommitdiffstats
path: root/cc/stl.go
diff options
context:
space:
mode:
Diffstat (limited to 'cc/stl.go')
-rw-r--r--cc/stl.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cc/stl.go b/cc/stl.go
index 17cde596..347db991 100644
--- a/cc/stl.go
+++ b/cc/stl.go
@@ -42,7 +42,7 @@ func (stl *stl) begin(ctx BaseModuleContext) {
if stl.Properties.Stl != nil {
s = *stl.Properties.Stl
}
- if ctx.sdk() && ctx.Device() {
+ if ctx.useSdk() && ctx.Device() {
switch s {
case "":
return "ndk_system"