From 12b05029d7bf0ace018cf465b4042729defc47a1 Mon Sep 17 00:00:00 2001 From: Michael MacDonald Date: Thu, 8 Aug 2024 09:00:09 -0400 Subject: [PATCH] DAOS-16313 build: Add explicit linker flags to lib/daos/api (#14889) Apparently these are needed on Ubuntu. Signed-off-by: Michael MacDonald --- src/control/lib/daos/api/api.go | 2 +- src/control/lib/daos/api/system.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/control/lib/daos/api/api.go b/src/control/lib/daos/api/api.go index b75bf707b72..dbd6d2725a8 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 73aa2a86c3d..da874f69ddf 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"