Procházet zdrojové kódy

Add "rt" library for Linux

Some Linux distributions seem to require linking to "rt"
bel2125 před 5 roky
rodič
revize
99d6c6d24c
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      examples/embedded_c/Makefile

+ 1 - 1
examples/embedded_c/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)