samples: link RT for Linux only
This commit is contained in:
parent
d37ae7364a
commit
b34109fb0d
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue