mirror of
https://github.com/imgproxy/imgproxy.git
synced 2025-09-25 19:24:38 +02:00
Fix ld: error: undefined symbol: ceil on FreeBSD
When building on FreeBSD the compilation errors because it cannot find the math library. This single line links it.
This commit is contained in:
@@ -3,6 +3,7 @@ package vips
|
||||
/*
|
||||
#cgo pkg-config: vips
|
||||
#cgo CFLAGS: -O3
|
||||
#cgo LDFLAGS: -lm
|
||||
#include "vips.h"
|
||||
*/
|
||||
import "C"
|
||||
|
Reference in New Issue
Block a user