projects
/
stockfish
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1575ebf
)
Link the protobuf stuff statically.
author
Steinar H. Gunderson
<sgunderson@bigfoot.com>
Mon, 29 Aug 2016 22:08:50 +0000
(
00:08
+0200)
committer
Steinar H. Gunderson
<sgunderson@bigfoot.com>
Sat, 24 Nov 2018 10:17:41 +0000
(11:17 +0100)
src/Makefile
patch
|
blob
|
history
diff --git
a/src/Makefile
b/src/Makefile
index 1a64e3d0a03603eea11cbe21730077109f494495..525a01e21fcdab009886f02b41f444c0628c6627 100644
(file)
--- a/
src/Makefile
+++ b/
src/Makefile
@@
-550,7
+550,7
@@
GRPC_CPP_PLUGIN_PATH ?= `which $(GRPC_CPP_PLUGIN)`
%.pb.h %.pb.cc: %.proto
$(PROTOC) -I $(PROTOS_PATH) --cpp_out=. $<
-LDFLAGS += -
lprotobuf -lgrpc++_unsecure -lgrpc_unsecure -lgrpc
+LDFLAGS += -
Wl,-Bstatic -Wl,-\( -lprotobuf -lgrpc++_unsecure -lgrpc_unsecure -lgrpc -lz -Wl,-\) -Wl,-Bdynamic -ldl
client: $(CLIOBJS)
$(CXX) -o $@ $(CLIOBJS) $(LDFLAGS)