summaryrefslogtreecommitdiff
path: root/contrib/zeromq/Makefile
diff options
context:
space:
mode:
authorJens Geyer <jensg@apache.org>2014-12-22 22:21:24 +0100
committerJens Geyer <jensg@apache.org>2014-12-22 22:34:21 +0100
commit3e9c3a2af34fb8d2f37880e245e37e19dfb6edfa (patch)
treeb75c6a6c96a6a4d78f113caeaf1d19b1aeadd960 /contrib/zeromq/Makefile
parent1b17991f26e68c5b701c0d5f712a0f4eead16d4f (diff)
downloadthrift-3e9c3a2af34fb8d2f37880e245e37e19dfb6edfa.tar.gz
THRIFT-2911 fix c++ version zeromq transport, the old version cannot work
Client: contrib Patch: tiny <lox.xiao@gmail.com> This closes #315
Diffstat (limited to 'contrib/zeromq/Makefile')
-rw-r--r--contrib/zeromq/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/contrib/zeromq/Makefile b/contrib/zeromq/Makefile
index a1d71568d..b09f4ee34 100644
--- a/contrib/zeromq/Makefile
+++ b/contrib/zeromq/Makefile
@@ -1,6 +1,4 @@
THRIFT = thrift
-CXXFLAGS = `pkg-config --cflags libzmq thrift`
-LDLIBS = `pkg-config --libs libzmq thrift`
CXXFLAGS += -g3 -O0
@@ -16,9 +14,13 @@ PROGS = test-client test-server test-sender test-receiver
all: $(PYLIBS) $(PROGS)
test-client: test-client.o TZmqClient.o $(GENOBJS)
+ $(CXX) $^ -o $@ -lzmq -lthrift
test-server: test-server.o TZmqServer.o $(GENOBJS)
+ $(CXX) $^ -o $@ -lzmq -lthrift
test-sender: test-sender.o TZmqClient.o $(GENOBJS)
+ $(CXX) $^ -o $@ -lzmq -lthrift
test-receiver: test-receiver.o TZmqServer.o $(GENOBJS)
+ $(CXX) $^ -o $@ -lzmq -lthrift
test-client.o test-server.o test-sender.o test-receiver.o: $(GENSRCS)