diff --git a/rtmp/rtmp.go b/rtmp/rtmp.go index 37c435d0..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 -Wl,-rpath=/usr/local/lib +#cgo LDFLAGS: -lrtmp -lz -Wl,-rpath=/usr/local/lib #include #include