mirror of
https://github.com/talgo-cloud/talgo-libwebp.git
synced 2026-03-07 21:48:16 -08:00
Static linking support
Static linker requires additional -lm
This commit is contained in:
parent
64bb969fac
commit
e4e99eb5da
3 changed files with 1 additions and 4 deletions
|
|
@ -1,7 +1,6 @@
|
||||||
package webp
|
package webp
|
||||||
|
|
||||||
/*
|
/*
|
||||||
#cgo LDFLAGS: -lwebp
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <webp/decode.h>
|
#include <webp/decode.h>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,6 @@
|
||||||
package webp
|
package webp
|
||||||
|
|
||||||
/*
|
/*
|
||||||
#cgo LDFLAGS: -lwebp
|
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <webp/encode.h>
|
#include <webp/encode.h>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
package webp
|
package webp
|
||||||
|
|
||||||
/*
|
/*
|
||||||
#cgo LDFLAGS: -lwebp
|
#cgo LDFLAGS: -lwebp -lm
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <webp/encode.h>
|
#include <webp/encode.h>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue