1
0
mirror of https://github.com/imgproxy/imgproxy.git synced 2025-03-27 20:30:27 +02:00

Add CGO_LDFLAGS_ALLOW to the installation guide

This commit is contained in:
DarthSim 2019-05-07 15:03:06 +06:00
parent 0346b6b45e
commit 0cfeab65db

View File

@ -48,13 +48,13 @@ $ git push heroku master
$ sudo apt-get install libvips-dev
# FreeBSD
pkg install -y pkgconf vips
$ pkg install -y pkgconf vips
```
2. Next, install imgproxy itself:
```bash
$ go get -f -u github.com/DarthSim/imgproxy
$ CGO_LDFLAGS_ALLOW="-s|-w" go get -f -u github.com/DarthSim/imgproxy
```
**Note:** imgproxy build is automatically tested with the latest three minor versions of Go and libvips. Successfully build with the older versions is not guaranteed but yet may be possible.