🐛 fix(ci): 修复 DuckDB Windows 可选驱动构建的 CGO 参数污染

This commit is contained in:
Syngnat
2026-06-08 18:53:55 +08:00
parent f19ff5fdd5
commit 8aa2932878
4 changed files with 13 additions and 10 deletions

View File

@@ -430,7 +430,7 @@ func TestDuckDBWindowsBuildUsesDynamicLibraryTag(t *testing.T) {
func TestDuckDBWindowsDynamicLibraryCGOLDFlagsIncludeSupportLibraries(t *testing.T) {
flags := duckDBWindowsDynamicLibraryCGOLDFlags(`C:\tmp\duckdb lib`)
for _, expected := range []string{
`-L"C:/tmp/duckdb lib"`,
`-LC:/tmp/duckdb lib`,
"-lduckdb",
"-lstdc++",
"-lm",