From 2a1223d0f7eb881c8f033b58b22126d9577f7783 Mon Sep 17 00:00:00 2001 From: Jonathan Naylor Date: Tue, 18 Oct 2016 11:14:54 +0100 Subject: [PATCH] Fix compile flags and libraries. --- YSFReflector/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/YSFReflector/Makefile b/YSFReflector/Makefile index 05fdc09..7204a15 100644 --- a/YSFReflector/Makefile +++ b/YSFReflector/Makefile @@ -1,7 +1,7 @@ CC = gcc CXX = g++ -CFLAGS = -g -O3 -Wall -std=c++0x -LIBS = +CFLAGS = -g -O3 -Wall -std=c++0x -pthread +LIBS = -lpthread LDFLAGS = -g OBJECTS = Conf.o Log.o Network.o StopWatch.o Thread.o Timer.o UDPSocket.o Utils.o YSFReflector.o @@ -16,4 +16,4 @@ YSFReflector: $(OBJECTS) clean: $(RM) YSFReflector *.o *.d *.bak *~ - \ No newline at end of file +