Browse Source

Link with -lrt (clock_gettime)

Olivier Marty 9 years ago
parent
commit
4429fb0b5d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Makefile

+ 1 - 1
Makefile

@@ -19,7 +19,7 @@
 SRCS=time.c parser.c printer.c main.c
 CC=gcc
 CFLAGS=
-LIBS=$(shell pkg-config --cflags --libs x11)
+LIBS=$(shell pkg-config --cflags --libs x11) -lrt
 
 OBJS = $(SRCS:.c=.o)