Skip to content

Commit 08d1f14

Browse files
committed
quote the -I and -L CFLAGS, LDFLAGS paths. Fixes #349
1 parent 0050491 commit 08d1f14

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

bind/utils.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -208,11 +208,11 @@ else:
208208
cfg.Version = raw.Version
209209
cfg.ExtSuffix = raw.ExtSuffix
210210
cfg.CFlags = strings.Join([]string{
211-
"-I" + raw.IncDir,
211+
`"-I` + raw.IncDir + `"`,
212212
}, " ")
213213
cfg.LdFlags = strings.Join([]string{
214-
"-L" + raw.LibDir,
215-
"-l" + raw.LibPy,
214+
`"-L` + raw.LibDir + `"`,
215+
`"-l` + raw.LibPy + `"`,
216216
raw.ShLibs,
217217
raw.SysLibs,
218218
}, " ")

0 commit comments

Comments
 (0)