mirror of
https://github.com/pion/mediadevices.git
synced 2026-04-22 15:57:27 +08:00
1b5203d3a0
With this new build system, it'll make it easier to compile third-party libraries statically to multiple platforms.
13 lines
465 B
Go
13 lines
465 B
Go
// +build !dynamic
|
|
|
|
package openh264
|
|
|
|
//#cgo CFLAGS: -I${SRCDIR}/include
|
|
//#cgo CXXFLAGS: -I${SRCDIR}/include
|
|
//#cgo linux,arm LDFLAGS: ${SRCDIR}/lib/libopenh264_linux_armv7.a
|
|
//#cgo linux,arm64 LDFLAGS: ${SRCDIR}/lib/libopenh264_linux_arm64.a
|
|
//#cgo linux,amd64 LDFLAGS: ${SRCDIR}/lib/libopenh264_linux_x64.a
|
|
//#cgo darwin,amd64 LDFLAGS: ${SRCDIR}/lib/libopenh264_darwin_x64.a
|
|
//#cgo windows,amd64 LDFLAGS: ${SRCDIR}/lib/libopenh264_windows_x64.a -lssp
|
|
import "C"
|