Commit 81634f78 authored by Michel Roelofs's avatar Michel Roelofs
Browse files

Add system libraries to Makefile linkflags

parent 10771f9b
......@@ -11,7 +11,7 @@ LIBUTILOBJS= $(UTILSRCS:.c=.lo)
all: $(LIBUTILOBJS) weather_test libutils.la libutils.la_install
libutils.la_LDFLAGS= -lm -rpath ${CURDIR}/../lib
libutils.la_LDFLAGS= -lm -rpath ${CURDIR}/../lib -lrt
libutils.la: $(LIBUTILOBJS)
${CURDIR}/../lib:
......
......@@ -8,7 +8,7 @@ CFLAGS= -Wall -O3 -I../../common/utils \
-I../../common/log \
-I../../include
LDFLAGS+= -L../../common/lib/ -L../../lib/ -L./lib -lutils -ltrace -static -llog
LDFLAGS+= -L../../common/lib/ -L../../lib/ -L./lib -lutils -ltrace -llog
LIBNOVA=-lnova -L../../lib/
......
......@@ -70,7 +70,7 @@ il2cdir:
$(BLOCKSRCS): il2cdir
libblock.la_LDFLAGS=-rpath ${CURDIR}/../lib
libblock.la_LDFLAGS=-rpath ${CURDIR}/../lib -lm
libblock.la: $(BLOCKS)
libblock.la_install: libblock.la
......
......@@ -27,7 +27,7 @@ controller_load_parser.tab.lo: controller_load_parser.yy.c
controller_load.lo: controller_load_parser.tab.h controller_load_parser.yy.h
libcontroller.la_LDFLAGS=-rpath ${CURDIR}/../lib -lshell
libcontroller.la_LDFLAGS=-rpath ${CURDIR}/../lib -lshell -ldl -lpthread -lrt
libcontroller.la: $(CONTROLLER)
libcontroller.la_install: libcontroller.la
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment