Skip to content

Commit

Permalink
DAOS-16313 build: Add explicit linker flags to lib/daos/api
Browse files Browse the repository at this point in the history
Apparently these are needed on Ubuntu.

Required-githooks: true
Change-Id: Ieb0446760f0b53e2f09feeae0226ea26dd455d58
Signed-off-by: Michael MacDonald <mjmac@google.com>
  • Loading branch information
mjmac committed Aug 7, 2024
1 parent 8896868 commit 9d1503e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/control/lib/daos/api/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (
/*
#include <daos.h>
#cgo LDFLAGS: -ldaos
#cgo LDFLAGS: -lcart -lgurt -ldaos -ldaos_common
*/
import "C"

Expand Down
2 changes: 1 addition & 1 deletion src/control/lib/daos/api/system.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import (
/*
#include <daos_mgmt.h>
#cgo LDFLAGS: -ldaos
#cgo LDFLAGS: -lcart -lgurt -ldaos -ldaos_common
*/
import "C"

Expand Down

0 comments on commit 9d1503e

Please sign in to comment.