From b55ca5c102e360ec8b7e3e8552e5c208e7d0bbf3 Mon Sep 17 00:00:00 2001 From: antoine Date: Sat, 25 Feb 2017 14:39:00 +0000 Subject: Fix "make test" when PREFIX != LOCALBASE Reported by: jbeich --- emulators/unicorn/files/patch-tests_unit_Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'emulators') diff --git a/emulators/unicorn/files/patch-tests_unit_Makefile b/emulators/unicorn/files/patch-tests_unit_Makefile index ae82f6e9dbdf..cd7991d53e08 100644 --- a/emulators/unicorn/files/patch-tests_unit_Makefile +++ b/emulators/unicorn/files/patch-tests_unit_Makefile @@ -4,7 +4,7 @@ CFLAGS += -Wall -Werror -Wno-unused-function -g CFLAGS += -L ../../ -I ../../include -CFLAGS += -L ../../cmocka/src -I ../../cmocka/include -+CFLAGS += -L $(PREFIX)/lib -I $(PREFIX)/include ++CFLAGS += -L $(LOCALBASE)/lib -I $(LOCALBASE)/include UNAME_S := $(shell uname -s) ifeq ($(UNAME_S), Linux) -- cgit