소스 검색

Merge pull request #86 from nihildeb/master

linking fails because clock_gettime is missing without -lrt flag on ubun...
bel2125 10 년 전
부모
커밋
f1c34405fc
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      Makefile

+ 1 - 1
Makefile

@@ -62,7 +62,7 @@ endif
 # only set main compile options if none were chosen
 CFLAGS += -W -Wall -O2 -D$(TARGET_OS) -Iinclude $(COPT) -DUSE_STACK_SIZE=102400
 
-LIBS = -lpthread -lm
+LIBS = -lpthread -lm -lrt
 
 ifdef WITH_DEBUG
   CFLAGS += -g -DDEBUG_ENABLED