From 64dd8b9d1db1f1ef4b1e8d3f70f41d8ab9aac6c3 Mon Sep 17 00:00:00 2001 From: notedit Date: Wed, 8 Jan 2020 23:39:21 +0800 Subject: [PATCH] fix Former-commit-id: 8706f86292c0ab96c923cc6492be98a96d8abb4b [formerly 93286a760f5f3767f26f0b12adf797413301a025] [formerly 471415465c08e784d44370072dec94725a973244 [formerly 517cd4d2b861d7a7f1560a4549de3cd8b52da390]] Former-commit-id: 0b2816b9557d8d32db5e41f6dab43e827c8e546f [formerly 9c625be41bf23bb3591b0d351e725c4ba4c73420] Former-commit-id: 3b0847cd2bc9050608276ab317612938fb0c6855 --- wrapper/module.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wrapper/module.go b/wrapper/module.go index d0a34e2..1211638 100644 --- a/wrapper/module.go +++ b/wrapper/module.go @@ -2,14 +2,14 @@ package native /* #cgo CXXFLAGS: -std=c++1z -#cgo CPPFLAGS: -I/var/opt/include +#cgo CPPFLAGS: -I/usr/local/include #cgo CPPFLAGS: -I${SRCDIR}/../include/crc32c/include/ #cgo CPPFLAGS: -I${SRCDIR}/../include/libdatachannels/ #cgo CPPFLAGS: -I${SRCDIR}/../include/libdatachannels/internal/ #cgo CPPFLAGS: -I${SRCDIR}/../include/media-server/include/ #cgo CPPFLAGS: -I${SRCDIR}/../include/media-server/src/ -#cgo LDFLAGS: -L/var/opt/lib -lmediaserver -lssl -lcrypto -lsrtp2 -#cgo LDFLAGS: /var/opt/lib/libmp4v2.a +#cgo LDFLAGS: -L/usr/local/lib -lmediaserver -lssl -lcrypto -lsrtp2 +#cgo LDFLAGS: /usr/local/lib/libmp4v2.a #cgo LDFLAGS: -ldl */ import "C"