Bläddra i källkod

Add "rt" library for Linux

bel2125 5 år sedan
förälder
incheckning
3019d6c021
1 ändrade filer med 1 tillägg och 1 borttagningar
  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
 include $(TOP)/resources/Makefile.in-os
 
 
 ifeq ($(TARGET_OS),LINUX) 
 ifeq ($(TARGET_OS),LINUX) 
-	LIBS += -ldl
+	LIBS += -ldl -lrt
 endif
 endif
 
 
 all: $(PROG)
 all: $(PROG)