mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2024-12-23 05:05:36 +00:00
samples: link RT for non-MacOS
This commit is contained in:
parent
1d85d1763d
commit
d37ae7364a
|
@ -13,8 +13,13 @@ AR_EXT = a
|
||||||
V ?= 0
|
V ?= 0
|
||||||
|
|
||||||
CFLAGS += -Wall -Werror -I../include
|
CFLAGS += -Wall -Werror -I../include
|
||||||
|
|
||||||
LDFLAGS += -L$(LIBDIR) -lunicorn -lpthread -lm
|
LDFLAGS += -L$(LIBDIR) -lunicorn -lpthread -lm
|
||||||
LDLIBS += -lrt -lpthread -lunicorn -lm
|
ifneq ($(UNAME_S), Darwin)
|
||||||
|
LDFLAGS += -lrt
|
||||||
|
endif
|
||||||
|
|
||||||
|
LDLIBS += -lpthread -lunicorn -lm
|
||||||
|
|
||||||
ifneq ($(CROSS),)
|
ifneq ($(CROSS),)
|
||||||
CC = $(CROSS)gcc
|
CC = $(CROSS)gcc
|
||||||
|
|
Loading…
Reference in a new issue