diff --git a/examples/echo-receiver/main.go b/examples/echo-receiver/main.go index 45eb915..bd178a8 100644 --- a/examples/echo-receiver/main.go +++ b/examples/echo-receiver/main.go @@ -1,6 +1,6 @@ package main -// #cgo LDFLAGS: -lsrt +// #cgo pkg-config: srt // #include import "C" diff --git a/srtgo.go b/srtgo.go index d7791c8..8af41a3 100644 --- a/srtgo.go +++ b/srtgo.go @@ -1,7 +1,7 @@ package srtgo /* -#cgo LDFLAGS: -lsrt +#cgo pkg-config: srt #include #include #include "callback.h"