cflags: add -ldl to fix build on Ubuntu 16.04

This commit is contained in:
mappu 2017-03-05 11:50:13 +13:00
parent d933ec9028
commit 2d85b83a5e

View File

@ -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 LDFLAGS: -lm -fopenmp
#cgo LDFLAGS: -lm -fopenmp -ldl
*/
import "C"