mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2025-01-03 17:25:30 +00:00
test: fix missng pthread functions
This commit is contained in:
parent
9fac29d154
commit
f9f184e719
|
@ -1,9 +1,9 @@
|
||||||
CFLAGS += -Wall -Werror -I../../include
|
CFLAGS += -Wall -Werror -I../../include
|
||||||
LDLIBS += -L../../ -lpthread -lm -lunicorn
|
LDLIBS += -L../../ -lm -lunicorn
|
||||||
|
|
||||||
UNAME_S := $(shell uname -s)
|
UNAME_S := $(shell uname -s)
|
||||||
ifeq ($(UNAME_S), Linux)
|
ifeq ($(UNAME_S), Linux)
|
||||||
LDLIBS += -lrt
|
LDLIBS += -lrt -pthread
|
||||||
endif
|
endif
|
||||||
|
|
||||||
EXECUTE_VARS = LD_LIBRARY_PATH=../../cmocka/src:../../ DYLD_LIBRARY_PATH=../../
|
EXECUTE_VARS = LD_LIBRARY_PATH=../../cmocka/src:../../ DYLD_LIBRARY_PATH=../../
|
||||||
|
|
|
@ -1,13 +1,13 @@
|
||||||
CFLAGS += -Wall -Werror -Wno-unused-function -g
|
CFLAGS += -Wall -Werror -Wno-unused-function -g
|
||||||
CFLAGS += -L ../../ -I ../../include
|
CFLAGS += -L ../../ -I ../../include
|
||||||
CFLAGS += -L ../../cmocka/src -I ../../cmocka/include
|
CFLAGS += -L ../../cmocka/src -I ../../cmocka/include
|
||||||
LDLIBS += -lcmocka -lunicorn
|
|
||||||
|
|
||||||
UNAME_S := $(shell uname -s)
|
UNAME_S := $(shell uname -s)
|
||||||
ifeq ($(UNAME_S), Linux)
|
ifeq ($(UNAME_S), Linux)
|
||||||
LDLIBS += -lrt
|
LDLIBS += -lrt -pthread
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
LDLIBS += -lcmocka -lunicorn
|
||||||
|
|
||||||
EXECUTE_VARS = LD_LIBRARY_PATH=../../cmocka/src:../../ DYLD_LIBRARY_PATH=../../
|
EXECUTE_VARS = LD_LIBRARY_PATH=../../cmocka/src:../../ DYLD_LIBRARY_PATH=../../
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue