From a6348944949c1e65716d491d6d72509d1263eb5f Mon Sep 17 00:00:00 2001 From: Devan Date: Tue, 26 Nov 2024 14:40:33 -0600 Subject: [PATCH] feat: testing linker errors with pkg-config --- .circleci/config.yml | 2 +- libflux/go/libflux/link_dynamic.go | 1 - libflux/go/libflux/link_static.go | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 959d9719be..516dc93dc6 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -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 diff --git a/libflux/go/libflux/link_dynamic.go b/libflux/go/libflux/link_dynamic.go index da4b21be1d..badb80e8ca 100644 --- a/libflux/go/libflux/link_dynamic.go +++ b/libflux/go/libflux/link_dynamic.go @@ -4,5 +4,4 @@ package libflux // #cgo pkg-config: flux -// #cgo LDFLAGS: -lntdll import "C" diff --git a/libflux/go/libflux/link_static.go b/libflux/go/libflux/link_static.go index dcb3e7eda8..81a09f04b2 100644 --- a/libflux/go/libflux/link_static.go +++ b/libflux/go/libflux/link_static.go @@ -5,5 +5,4 @@ package libflux // #cgo pkg-config: --static flux // #cgo LDFLAGS: -static -// #cgo LDFLAGS: -lntdll import "C"