mirror of
https://github.com/imgproxy/imgproxy.git
synced 2025-09-28 20:43:54 +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 pkg-config: vips
|
||||||
#cgo CFLAGS: -O3
|
#cgo CFLAGS: -O3
|
||||||
|
#cgo LDFLAGS: -lm
|
||||||
#include "vips.h"
|
#include "vips.h"
|
||||||
*/
|
*/
|
||||||
import "C"
|
import "C"
|
||||||
|
Reference in New Issue
Block a user