fix ldflags

This commit is contained in:
Li Jie
2025-08-21 16:48:14 +08:00
parent d8122d14aa
commit 9a90eaed76

View File

@@ -162,6 +162,7 @@ func use(goos, goarch string, wasiThreads bool) (export Export, err error) {
return
}
export.CCFLAGS = append(export.CCFLAGS, []string{"--sysroot=" + sysrootPath}...)
export.LDFLAGS = append(export.LDFLAGS, []string{"--sysroot=" + sysrootPath}...)
}
// Add OS-specific flags