]> rtime.felk.cvut.cz Git - orte.git/blobdiff - orte/examples/ping/Makefile.omk
Fix missing references to clock_gettime for OMK build under Linux.
[orte.git] / orte / examples / ping / Makefile.omk
index 4e6e4217f26108dd0752d7c5bd4d8982fce8fc64..a5c9513247cafa8155cf3924d35e00099d50159b 100644 (file)
@@ -9,7 +9,9 @@ endif
 
 orteping_SOURCES = orteping.c
 
-lib_LOADLIBES =  orte pthread
+TARGET_LOADLIBES ?= pthread rt
+
+lib_LOADLIBES =  orte $(TARGET_LOADLIBES)
 ifeq ($(TARGET_OS),win32)
 lib_LOADLIBES +=  ws2_32
 endif #TARGET_OS