Skip to content

Commit e9e70b7

Browse files
committed
fix: linux未链接m和stdc++库, 造成编译失败问题
1 parent 7631b1e commit e9e70b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

header.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ package audio_transcoder
55
/*
66
#cgo CFLAGS: -I./3rd/wrapper -I./3rd/include
77
#cgo windows,amd64 LDFLAGS: -L./3rd/lib/win64 -lfaad -lfaac -lopus
8-
#cgo linux,amd64 LDFLAGS: -L./3rd/lib/linux64 -lfaad -lfaac -lopus
8+
#cgo linux,amd64 LDFLAGS: -L./3rd/lib/linux64 -lfaad -lfaac -lopus -lm -lstdc++
99
*/
1010
import "C"

0 commit comments

Comments
 (0)