소스 검색

Add "rt" library for Linux

bel2125 5 년 전
부모
커밋
3019d6c021
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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)