diff --git a/samples/Makefile b/samples/Makefile index da49f5a4..dc212cd5 100644 --- a/samples/Makefile +++ b/samples/Makefile @@ -13,8 +13,8 @@ AR_EXT = a V ?= 0 CFLAGS += -Wall -Werror -I../include -LDFLAGS += -L$(LIBDIR) -lunicorn -lpthread -lm -LDLIBS += -lpthread -lunicorn -lm +LDFLAGS += -L$(LIBDIR) -lunicorn -lpthread -lm -lrt +LDLIBS += -lpthread -lunicorn -lm -lrt ifneq ($(CROSS),) CC = $(CROSS)gcc