mirror of
https://github.com/shirou/gopsutil.git
synced 2025-05-10 19:29:14 +08:00
Merge pull request #406 from jen20/fix-osx-build
disk: Remove -mmacosx-version-min from darwin+cgo
This commit is contained in:
commit
42b5d5abb2
@ -4,8 +4,7 @@
|
||||
package disk
|
||||
|
||||
/*
|
||||
#cgo CFLAGS: -mmacosx-version-min=10.10 -DMACOSX_DEPLOYMENT_TARGET=10.10
|
||||
#cgo LDFLAGS: -mmacosx-version-min=10.10 -lobjc -framework Foundation -framework IOKit
|
||||
#cgo LDFLAGS: -lobjc -framework Foundation -framework IOKit
|
||||
#include <stdint.h>
|
||||
|
||||
// ### enough?
|
||||
|
Loading…
x
Reference in New Issue
Block a user