From: Pavel Pisa Date: Tue, 7 Oct 2014 22:43:47 +0000 (+0200) Subject: Fix missing references to clock_gettime for OMK build under Linux. X-Git-Url: https://rtime.felk.cvut.cz/gitweb/orte.git/commitdiff_plain/5874e67aa7c5fb7b7f82163c1777480c0aaa1541 Fix missing references to clock_gettime for OMK build under Linux. Signed-off-by: Pavel Pisa --- diff --git a/orte/examples/hello/Makefile.omk b/orte/examples/hello/Makefile.omk index 8e37c14..197ba25 100644 --- a/orte/examples/hello/Makefile.omk +++ b/orte/examples/hello/Makefile.omk @@ -11,7 +11,7 @@ h_publisher_SOURCES = h_publisher.c h_subscriber_SOURCES = h_subscriber.c -TARGET_LOADLIBES ?= pthread +TARGET_LOADLIBES ?= pthread rt lib_LOADLIBES = orte $(TARGET_LOADLIBES) ifeq ($(TARGET_OS),win32) diff --git a/orte/examples/mpo/ddso/Makefile.omk b/orte/examples/mpo/ddso/Makefile.omk index 16a01c6..56ba7bd 100644 --- a/orte/examples/mpo/ddso/Makefile.omk +++ b/orte/examples/mpo/ddso/Makefile.omk @@ -8,8 +8,8 @@ shared_LIBRARIES = ddso bin_PROGRAMS = ddsop ddsos -ddsop_LIBS = orte pthread ddso -ddsos_LIBS = orte pthread ddso +ddsop_LIBS = orte pthread ddso rt +ddsos_LIBS = orte pthread ddso rt ifeq ($(TARGET_OS),win32) ddsop_LIBS += ws2_32 ddsos_LIBS += ws2_32 diff --git a/orte/examples/multicast/Makefile.omk b/orte/examples/multicast/Makefile.omk index 06bcdc8..277d659 100644 --- a/orte/examples/multicast/Makefile.omk +++ b/orte/examples/multicast/Makefile.omk @@ -9,7 +9,7 @@ endif m_subscriber_SOURCES = m_subscriber.c -TARGET_LOADLIBES ?= pthread +TARGET_LOADLIBES ?= pthread rt lib_LOADLIBES = orte $(TARGET_LOADLIBES) ifeq ($(TARGET_OS),win32) diff --git a/orte/examples/ping/Makefile.omk b/orte/examples/ping/Makefile.omk index edd6752..a5c9513 100644 --- a/orte/examples/ping/Makefile.omk +++ b/orte/examples/ping/Makefile.omk @@ -9,7 +9,7 @@ endif orteping_SOURCES = orteping.c -TARGET_LOADLIBES ?= pthread +TARGET_LOADLIBES ?= pthread rt lib_LOADLIBES = orte $(TARGET_LOADLIBES) ifeq ($(TARGET_OS),win32) diff --git a/orte/examples/reliable/Makefile.omk b/orte/examples/reliable/Makefile.omk index 53c4733..6d1d47c 100644 --- a/orte/examples/reliable/Makefile.omk +++ b/orte/examples/reliable/Makefile.omk @@ -13,7 +13,7 @@ r_subscriber_reliable_SOURCES = r_subscriber_reliable.c r_subscriber_besteffort_SOURCES = r_subscriber_besteffort.c -TARGET_LOADLIBES ?= pthread +TARGET_LOADLIBES ?= pthread rt lib_LOADLIBES = orte $(TARGET_LOADLIBES) ifeq ($(TARGET_OS),win32) diff --git a/orte/examples/schneider/Makefile.omk b/orte/examples/schneider/Makefile.omk index 0789c86..ddcaab7 100644 --- a/orte/examples/schneider/Makefile.omk +++ b/orte/examples/schneider/Makefile.omk @@ -9,7 +9,7 @@ endif schneider_subscriber_SOURCES = schneider_subscriber.c -TARGET_LOADLIBES ?= pthread +TARGET_LOADLIBES ?= pthread rt lib_LOADLIBES = orte $(TARGET_LOADLIBES) ifeq ($(TARGET_OS),win32) diff --git a/orte/examples/spy/Makefile.omk b/orte/examples/spy/Makefile.omk index b3853f9..a067eb5 100644 --- a/orte/examples/spy/Makefile.omk +++ b/orte/examples/spy/Makefile.omk @@ -9,7 +9,7 @@ endif ortespy_SOURCES = ortespy.c -TARGET_LOADLIBES ?= pthread +TARGET_LOADLIBES ?= pthread rt lib_LOADLIBES = orte $(TARGET_LOADLIBES) ifeq ($(TARGET_OS),win32) diff --git a/orte/manager/Makefile.omk b/orte/manager/Makefile.omk index 8f832e6..06a76cd 100644 --- a/orte/manager/Makefile.omk +++ b/orte/manager/Makefile.omk @@ -12,7 +12,7 @@ else bin_PROGRAMS = ortemanager endif -TARGET_LOADLIBES ?= pthread +TARGET_LOADLIBES ?= pthread rt lib_LOADLIBES = orte $(TARGET_LOADLIBES)