Sfoglia il codice sorgente

Add "rt" library for Linux

bel2125 5 anni fa
parent
commit
3019d6c021
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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)