From b34109fb0d64ba4b6b3f45f96afd391f81553999 Mon Sep 17 00:00:00 2001 From: Nguyen Anh Quynh Date: Sat, 24 Dec 2016 17:48:15 +0800 Subject: [PATCH] samples: link RT for Linux only --- samples/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/Makefile b/samples/Makefile index 938a944d..8fbd7ac9 100644 --- a/samples/Makefile +++ b/samples/Makefile @@ -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