Skip to content

Commit

Permalink
Update Linux cgo link
Browse files Browse the repository at this point in the history
  • Loading branch information
vcaesar committed Jan 17, 2022
1 parent 6665ca5 commit 8beb934
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ jobs:
build:
docker:
# using custom image, see .circleci/images/primary/Dockerfile
- image: golang:1.17.5
- image: golang:1.17.6
working_directory: /gopath/src/github.com/vcaesar/bitmap
steps:
- checkout
Expand Down
3 changes: 2 additions & 1 deletion bitmap.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ package bitmap
#cgo darwin,amd64 LDFLAGS:-L${SRCDIR}/cdeps/mac/amd -lpng -lz
#cgo darwin,arm64 LDFLAGS:-L${SRCDIR}/cdeps/mac/m1 -lpng -lz
//
#cgo linux LDFLAGS: -L/usr/src -lpng -lz
// #cgo linux CFLAGS: -I/usr/src
#cgo linux LDFLAGS: -L/usr/src -lm -lpng -lz
//
#cgo windows,amd64 LDFLAGS: -L${SRCDIR}/cdeps/win/amd/win64 -lpng -lz
#cgo windows,386 LDFLAGS: -L${SRCDIR}/cdeps/win/amd/win32 -lpng -lz
Expand Down

0 comments on commit 8beb934

Please sign in to comment.