From 58bc8e2dc617de775148278bd3f0f176f796b00f Mon Sep 17 00:00:00 2001 From: Michael MacDonald Date: Wed, 7 Aug 2024 14:57:28 +0000 Subject: [PATCH] DAOS-16313 build: Add explicit linker flags to lib/daos/api Apparently these are needed on Ubuntu. Required-githooks: true Change-Id: Ieb0446760f0b53e2f09feeae0226ea26dd455d58 Signed-off-by: Michael MacDonald --- .github/workflows/landing-builds.yml | 1 + src/control/lib/daos/api/api.go | 2 +- src/control/lib/daos/api/system.go | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/landing-builds.yml b/.github/workflows/landing-builds.yml index 103f150915a4..158ced4737fa 100644 --- a/.github/workflows/landing-builds.yml +++ b/.github/workflows/landing-builds.yml @@ -1,5 +1,6 @@ name: Landings +# mjmac test (don't land) # Run on landings, or when this action itself is changed. on: push: diff --git a/src/control/lib/daos/api/api.go b/src/control/lib/daos/api/api.go index b75bf707b724..dbd6d2725a83 100644 --- a/src/control/lib/daos/api/api.go +++ b/src/control/lib/daos/api/api.go @@ -15,7 +15,7 @@ import ( /* #include -#cgo LDFLAGS: -ldaos +#cgo LDFLAGS: -lcart -lgurt -ldaos -ldaos_common */ import "C" diff --git a/src/control/lib/daos/api/system.go b/src/control/lib/daos/api/system.go index 73aa2a86c3d0..da874f69ddf9 100644 --- a/src/control/lib/daos/api/system.go +++ b/src/control/lib/daos/api/system.go @@ -17,7 +17,7 @@ import ( /* #include -#cgo LDFLAGS: -ldaos +#cgo LDFLAGS: -lcart -lgurt -ldaos -ldaos_common */ import "C"