From 2d85b83a5edd49e614061151f2c1a61481d190ba Mon Sep 17 00:00:00 2001 From: mappu Date: Sun, 5 Mar 2017 11:50:13 +1300 Subject: [PATCH] cflags: add -ldl to fix build on Ubuntu 16.04 --- cflags_linux.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cflags_linux.go b/cflags_linux.go index 409251a..fd11792 100644 --- a/cflags_linux.go +++ b/cflags_linux.go @@ -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"