]> rtime.felk.cvut.cz Git - orte/eurobot.git/blobdiff - orte/examples/spy/Makefile.omk
OMK build: move linker specification of pthread library to separate variable TARGET_L...
[orte/eurobot.git] / orte / examples / spy / Makefile.omk
index 2015c60d13b3c02be4502f3d0d0f362a18a23fd5..b3853f91aaa8ae3a2fcba9b3a01cb4956be1091d 100644 (file)
@@ -9,7 +9,9 @@ endif
 
 ortespy_SOURCES = ortespy.c
 
-lib_LOADLIBES =  orte pthread
+TARGET_LOADLIBES ?= pthread
+
+lib_LOADLIBES =  orte $(TARGET_LOADLIBES)
 ifeq ($(TARGET_OS),win32)
 lib_LOADLIBES +=  ws2_32
 endif #TARGET_OS