fix ldflags
This commit is contained in:
@@ -162,6 +162,7 @@ func use(goos, goarch string, wasiThreads bool) (export Export, err error) {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
export.CCFLAGS = append(export.CCFLAGS, []string{"--sysroot=" + sysrootPath}...)
|
export.CCFLAGS = append(export.CCFLAGS, []string{"--sysroot=" + sysrootPath}...)
|
||||||
|
export.LDFLAGS = append(export.LDFLAGS, []string{"--sysroot=" + sysrootPath}...)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Add OS-specific flags
|
// Add OS-specific flags
|
||||||
|
|||||||
Reference in New Issue
Block a user