mirror of
https://github.com/talgo-cloud/talgo-libwebp.git
synced 2026-03-13 09:20:35 -07:00
Merge pull request #6 from saturday06/feature/static_link
Supports static link.
This commit is contained in:
commit
79325fa77d
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