summaryrefslogtreecommitdiff
path: root/include/makeinclude/platform_linux.GNU
diff options
context:
space:
mode:
Diffstat (limited to 'include/makeinclude/platform_linux.GNU')
-rw-r--r--include/makeinclude/platform_linux.GNU4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/makeinclude/platform_linux.GNU b/include/makeinclude/platform_linux.GNU
index bea9685f1bd..bffb29c4e46 100644
--- a/include/makeinclude/platform_linux.GNU
+++ b/include/makeinclude/platform_linux.GNU
@@ -77,8 +77,10 @@ LIBS += -ldl
ifeq ($(threads),1)
LIBS += -lpthread
+ ifeq (-DACE_HAS_AIO_CALLS,$(PLATFORM_AIO_SUPPORT))
+ LIBS += -lrt
+ endif
endif
-LIBS += $(shell test -e /usr/lib/librt.so && echo -lrt)
PLATFORM_QT_CPPFLAGS=-I$(QTDIR)/include
PLATFORM_QT_LIBS=-lqt