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 58bc8e2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/landing-builds.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
name: Landings

# mjmac test (don't land)
# Run on landings, or when this action itself is changed.
on:
push:
Expand Down
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 58bc8e2

Please sign in to comment.