diff --git a/rtmp/rtmp.go b/rtmp/rtmp.go index 151d84e7..d0ad3e62 100644 --- a/rtmp/rtmp.go +++ b/rtmp/rtmp.go @@ -31,7 +31,7 @@ package rtmp /* #cgo CFLAGS: -I/usr/local/include/librtmp -#cgo LDFLAGS: -L/usr/local/lib -lrtmp +#cgo LDFLAGS: -lrtmp -lz -Wl,-rpath=/usr/local/lib #include #include