qt: add separate per-OS cflags files (1/X)

This commit is contained in:
mappu 2024-09-01 17:16:33 +12:00
parent 106a0dbfbd
commit aa1ece6126
2 changed files with 14 additions and 0 deletions

7
qt/cflags_linux.go Normal file
View File

@ -0,0 +1,7 @@
package qt
/*
#cgo CFLAGS: -fPIC
#cgo pkg-config: Qt5Widgets
*/
import "C"

7
qt/cflags_windows.go Normal file
View File

@ -0,0 +1,7 @@
package qt
/*
#cgo CXXFLAGS: -std=c++11
#cgo pkg-config: Qt5Widgets
*/
import "C"