Skip to content

Commit

Permalink
Fix libsgx_epid ldflags
Browse files Browse the repository at this point in the history
  • Loading branch information
iKapitonau committed Nov 1, 2024
1 parent 994fa62 commit 6676e69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ GO_TAGS := $(build_tags)
LD_FLAGS := $(ldflags)

ifeq ($(SGX_MODE), HW)
CGO_LDFLAGS += -L/opt/sgxsdk/lib64 -lsgx_epid
CGO_LDFLAGS += $(shell pkg-config --libs libsgx_epid)
endif

all: build_all
Expand Down

0 comments on commit 6676e69

Please sign in to comment.