cflags: add -ldl to fix build on Ubuntu 16.04
This commit is contained in:
parent
d933ec9028
commit
2d85b83a5e
@ -4,6 +4,6 @@ package imagequant
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
#cgo CFLAGS: -O3 -fno-math-errno -fopenmp -funroll-loops -fomit-frame-pointer -Wall -Wno-attributes -std=c99 -DNDEBUG -DUSE_SSE=1 -msse -fexcess-precision=fast
|
#cgo CFLAGS: -O3 -fno-math-errno -fopenmp -funroll-loops -fomit-frame-pointer -Wall -Wno-attributes -std=c99 -DNDEBUG -DUSE_SSE=1 -msse -fexcess-precision=fast
|
||||||
#cgo LDFLAGS: -lm -fopenmp
|
#cgo LDFLAGS: -lm -fopenmp -ldl
|
||||||
*/
|
*/
|
||||||
import "C"
|
import "C"
|
||||||
|
Loading…
Reference in New Issue
Block a user