Skip to content

Commit

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

Signed-off-by: Michael MacDonald <mjmac@google.com>
  • Loading branch information
mjmac authored Aug 8, 2024
1 parent b4ceb85 commit 12b0502
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 12b0502

Please sign in to comment.