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"