Commit 84c2da5a authored by roel0's avatar roel0

Fix for issue #421, libsubunit needed but only on debian distributions

parent 05d9b30f
......@@ -9,7 +9,10 @@ RANLIB:=$(CROSS_COMPILE)ranlib
SIZE:=$(CROSS_COMPILE)size
STRIP_BIN:=$(CROSS_COMPILE)strip
TEST_LDFLAGS=-pthread $(PREFIX)/modules/*.o $(PREFIX)/lib/*.o -lvdeplug
UNIT_LDFLAGS=-lcheck -lm -pthread -lrt -lsubunit
UNIT_LDFLAGS=-lcheck -lm -pthread -lrt
ifeq (,$(wildcard /etc/debian-release))
UNIT_LDFLAGS+=-lsubunit
endif
UNIT_CFLAGS= $(CFLAGS) -Wno-missing-braces
LIBNAME:="libpicotcp.a"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment