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

View file

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