Skip to content

Commit 6676e69

Browse files
committed
Fix libsgx_epid ldflags
1 parent 994fa62 commit 6676e69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ GO_TAGS := $(build_tags)
149149
LD_FLAGS := $(ldflags)
150150

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

155155
all: build_all

0 commit comments

Comments
 (0)