]> rtime.felk.cvut.cz Git - orte/eurobot.git/blobdiff - orte/examples/hello/Makefile.omk
OMK build: move linker specification of pthread library to separate variable TARGET_L...
[orte/eurobot.git] / orte / examples / hello / Makefile.omk
index eaf9ae7ffae8255b244f7711d10e34660e921282..8e37c147d502090911e9f944802c16955a398fb3 100644 (file)
@@ -11,7 +11,9 @@ h_publisher_SOURCES = h_publisher.c
 
 h_subscriber_SOURCES = h_subscriber.c
 
-lib_LOADLIBES =  orte pthread
+TARGET_LOADLIBES ?= pthread
+
+lib_LOADLIBES =  orte $(TARGET_LOADLIBES)
 ifeq ($(TARGET_OS),win32)
 lib_LOADLIBES +=  ws2_32
 endif #TARGET_OS