Fix broken linking.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Fri, 19 Apr 2013 22:59:54 +0000 (00:59 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Fri, 19 Apr 2013 22:59:54 +0000 (00:59 +0200)
Makefile

index 36fb4f8..20f4010 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -2,8 +2,7 @@ CC=gcc
 CXX=g++
 PROTOC=protoc
 CXXFLAGS=-Wall -O2 -g -pthread
-LDLIBS=-lprotobuf
-LDFLAGS=-pthread
+LDLIBS=-lprotobuf -pthread
 
 OBJS=main.o client.o server.o stream.o serverpool.o mutexlock.o input.o httpinput.o udpinput.o parse.o config.o markpool.o acceptor.o stats.o accesslog.o thread.o util.o log.o state.pb.o