summaryrefslogtreecommitdiff
path: root/src/GNUmakefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/GNUmakefile')
-rw-r--r--src/GNUmakefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/GNUmakefile b/src/GNUmakefile
index eb4bfb9..3a574e2 100644
--- a/src/GNUmakefile
+++ b/src/GNUmakefile
@@ -6,7 +6,9 @@ CFLAGS = -g -O0 -std=c99 -Wall -pedantic -D_XOPEN_SOURCE=600 -D_DEFAULT_SOURCE
CFLAGS += -I/usr/local/include -I3rdParty/linenoise -I3rdParty/http_tiny
CFLAGS += `pkg-config --cflags glib-2.0`
LDFLAGS = -L/usr/local/lib
+LDFLAGS += `pkg-config --libs-only-L glib-2.0`
LIBS = -lconfuse -lpthread -lnanomsg -ljson-c -lmicrohttpd
+LIBS += `pkg-config --libs-only-l glib-2.0`
%.o : %.c
$(CC) $(CFLAGS) -c -o $@ $<