samples: link RT for Linux only

This commit is contained in:
Nguyen Anh Quynh 2016-12-24 17:48:15 +08:00
parent d37ae7364a
commit b34109fb0d
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ V ?= 0
CFLAGS += -Wall -Werror -I../include
LDFLAGS += -L$(LIBDIR) -lunicorn -lpthread -lm
ifneq ($(UNAME_S), Darwin)
ifeq ($(UNAME_S), Linux)
LDFLAGS += -lrt
endif