From fbd94e659f54c9f88d592493c19cc7f413af5536 Mon Sep 17 00:00:00 2001 From: saxon Date: Fri, 24 Aug 2018 06:11:21 +0930 Subject: [PATCH] rtmp: updated cgo LDFLAGS so that not outdated and does not cause undefined symbol runtime error on pi --- rtmp/rtmp.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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