Skip to content

Commit

Permalink
quote the -I and -L CFLAGS, LDFLAGS paths. Fixes #349
Browse files Browse the repository at this point in the history
  • Loading branch information
rcoreilly committed Apr 22, 2024
1 parent 0050491 commit 08d1f14
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bind/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -208,11 +208,11 @@ else:
cfg.Version = raw.Version
cfg.ExtSuffix = raw.ExtSuffix
cfg.CFlags = strings.Join([]string{
"-I" + raw.IncDir,
`"-I` + raw.IncDir + `"`,
}, " ")
cfg.LdFlags = strings.Join([]string{
"-L" + raw.LibDir,
"-l" + raw.LibPy,
`"-L` + raw.LibDir + `"`,
`"-l` + raw.LibPy + `"`,
raw.ShLibs,
raw.SysLibs,
}, " ")
Expand Down

0 comments on commit 08d1f14

Please sign in to comment.