only link rt if necessary

This commit is contained in:
john30
2015-11-07 12:09:55 +01:00
parent 0045d1cec4
commit 666964d76a
2 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ ebusd_SOURCES = bushandler.cpp \
ebusd_LDADD = ../lib/utils/libutils.a \
../lib/ebus/libebus.a \
-lpthread \
-lrt
@RT_LIB@
distclean-local:
-rm -f Makefile.in