Explorar o código

Add "rt" library for Linux

bel2125 %!s(int64=5) %!d(string=hai) anos
pai
achega
3019d6c021
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      examples/embedded_cpp/Makefile

+ 1 - 1
examples/embedded_cpp/Makefile

@@ -18,7 +18,7 @@ LIBS = -lpthread
 include $(TOP)/resources/Makefile.in-os
 
 ifeq ($(TARGET_OS),LINUX) 
-	LIBS += -ldl
+	LIBS += -ldl -lrt
 endif
 
 all: $(PROG)