rtmp: actually use our rtmp

Previously ld was linking with the system-wide lib, which is a
dependency of apt, and so present on the system by default. We could
drop our code here, but at the moment it is convenient to leave for
devugging purposes.
This commit is contained in:
Dan Kortschak 2018-06-28 21:09:18 +09:30
parent dd9e7751e5
commit 3990482ac4
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ package rtmp
/* /*
#cgo CFLAGS: -I/usr/local/include/librtmp #cgo CFLAGS: -I/usr/local/include/librtmp
#cgo LDFLAGS: -lrtmp -lz #cgo LDFLAGS: -lrtmp -lz -Wl,-rpath=/usr/local/lib
#include <stdlib.h> #include <stdlib.h>
#include <rtmp.h> #include <rtmp.h>