X-Git-Url: https://git.sesse.net/?p=cubemap;a=blobdiff_plain;f=Makefile;h=abadaf7fa2de44975af958092cb7ef94572de514;hp=d426bc1bae2469f08b367a39965edbecce05b4f5;hb=7628375363e006e2c272f98117609e1595f8cd1a;hpb=b757a4a2ce9d24835b52a185134835762af2f50c diff --git a/Makefile b/Makefile index d426bc1..abadaf7 100644 --- a/Makefile +++ b/Makefile @@ -2,8 +2,8 @@ CC=gcc CXX=g++ INSTALL=install PROTOC=protoc -CXXFLAGS=-Wall -O2 -g -pthread $(shell getconf LFS_CFLAGS) -LDLIBS=-lprotobuf -pthread -lrt +CXXFLAGS=-Wall -O2 -g -pthread $(shell getconf LFS_CFLAGS) $(shell pkg-config --cflags libsystemd) +LDLIBS=-lprotobuf -pthread -lrt $(shell pkg-config --libs libsystemd) OBJS=main.o client.o server.o stream.o udpstream.o serverpool.o mutexlock.o input.o input_stats.o httpinput.o udpinput.o parse.o config.o acceptor.o stats.o accesslog.o thread.o util.o log.o metacube2.o sa_compare.o state.pb.o