diff --git a/rtmp/rtmp.go b/rtmp/rtmp.go index 33dec40b..7a885bd5 100644 --- a/rtmp/rtmp.go +++ b/rtmp/rtmp.go @@ -30,7 +30,7 @@ package rtmp /* #cgo CFLAGS: -I/usr/local/include/librtmp -#cgo LDFLAGS: -lrtmp -lz +#cgo LDFLAGS: -lrtmp -lz -Wl,-rpath=/usr/local/lib #include #include