mirror of https://bitbucket.org/ausocean/av.git
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:
parent
dd9e7751e5
commit
3990482ac4
|
@ -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 <stdlib.h>
|
||||
#include <rtmp.h>
|
||||
|
|
Loading…
Reference in New Issue