[mac] try dynamically linking UTIFramework during cgo build

This commit is contained in:
Lea\Anthony
2021-12-11 19:36:17 +11:00
parent e12b630dfb
commit 62adcab722
2 changed files with 12 additions and 1 deletions

View File

@@ -5,7 +5,7 @@ package darwin
/*
#cgo CFLAGS: -x objective-c
#cgo LDFLAGS: -framework Foundation -framework Cocoa -framework WebKit -framework UniformTypeIdentifiers
#cgo LDFLAGS: -framework Foundation -framework Cocoa -framework WebKit
#import <Foundation/Foundation.h>
#import "Application.h"
#import "WailsContext.h"