Skip to content

Commit

Permalink
feat: testing linker errors with pkg-config
Browse files Browse the repository at this point in the history
  • Loading branch information
devanbenz committed Nov 26, 2024
1 parent e7f0c38 commit a634894
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ jobs:
echo "export GOPATH='${GOPATH}'" >> $BASH_ENV
mkdir -p "${GOPATH}/bin"
echo 'export PATH="${GOPATH}/bin:${PATH}"' >> $BASH_ENV
go install github.com/influxdata/pkg-config
go install github.com/influxdata/pkg-config@1e19b433dbc4e7d4beae6e8ef0c4df0dc6c29853
- run:
name: Generate libflux
command: go generate ./libflux/go/libflux
Expand Down
1 change: 0 additions & 1 deletion libflux/go/libflux/link_dynamic.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,4 @@
package libflux

// #cgo pkg-config: flux
// #cgo LDFLAGS: -lntdll
import "C"
1 change: 0 additions & 1 deletion libflux/go/libflux/link_static.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,4 @@ package libflux

// #cgo pkg-config: --static flux
// #cgo LDFLAGS: -static
// #cgo LDFLAGS: -lntdll
import "C"

0 comments on commit a634894

Please sign in to comment.