mirror of
https://github.com/wailsapp/wails.git
synced 2026-03-18 08:29:55 +01:00
[mac] fix dynamically linking UTIFramework during cgo build
This commit is contained in:
parent
62adcab722
commit
24eaef1604
1 changed files with 1 additions and 1 deletions
|
|
@ -326,7 +326,7 @@ func (b *BaseBuilder) CompileProject(options *Options) error {
|
|||
return err
|
||||
}
|
||||
versionSplit := strings.Split(info.OS.Version, ".")
|
||||
addUTIFramework := versionSplit[0] == "10"
|
||||
addUTIFramework := versionSplit[0] == "11"
|
||||
// Set the minimum Mac SDK to 10.13
|
||||
cmd.Env = upsertEnv(cmd.Env, "CGO_LDFLAGS", func(v string) string {
|
||||
if v != "" {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue