Fixed Linux static linking.
This commit is contained in:
parent
b9c3e87d5d
commit
c9b32c1333
|
@ -2,7 +2,8 @@
|
|||
|
||||
package ui
|
||||
|
||||
// #cgo LDFLAGS: ${SRCDIR}/libui_darwin_amd64.a -framework Foundation -framework AppKit -lpthread
|
||||
// #cgo CFLAGS: -mmacosx-version-min=10.8 -DMACOSX_DEPLOYMENT_TARGET=10.8
|
||||
// #cgo LDFLAGS: ${SRCDIR}/libui_darwin_amd64.a -framework Foundation -framework AppKit -lpthread -mmacosx-version-min=10.8
|
||||
// #include <CoreFoundation/CoreFoundation.h>
|
||||
// #include <pthread.h>
|
||||
// extern void _CFRunLoopSetCurrent(CFRunLoopRef);
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
package ui
|
||||
|
||||
// #cgo LDFLAGS: ${SRCDIR}/libui_linux_386.a -Wl,-rpath=$ORIGIN
|
||||
// #cgo LDFLAGS: ${SRCDIR}/libui_linux_386.a -lm -ldl
|
||||
// #cgo pkg-config: gtk+-3.0
|
||||
import "C"
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
package ui
|
||||
|
||||
// #cgo LDFLAGS: ${SRCDIR}/libui_linux_amd64.a -Wl,-rpath=$ORIGIN
|
||||
// #cgo LDFLAGS: ${SRCDIR}/libui_linux_amd64.a -lm -ldl
|
||||
// #cgo pkg-config: gtk+-3.0
|
||||
import "C"
|
||||
|
||||
|
|
Loading…
Reference in New Issue