From 10572fa08ae7819f06a087e89da6e1611beb7d46 Mon Sep 17 00:00:00 2001 From: Carl-Daniel Hailfinger Date: Mon, 17 Aug 2009 16:30:53 +0000 Subject: Fix compilation on Nexenta which is Ubuntu with a Solaris kernel Corresponding to flashrom svn r686. Signed-off-by: Carl-Daniel Hailfinger Acked-by: Stefan Reinauer --- Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 0141bef55..f8400b048 100644 --- a/Makefile +++ b/Makefile @@ -70,6 +70,9 @@ CONFIG_SERPROG = yes ifeq ($(CONFIG_SERPROG), yes) FEATURE_CFLAGS += -D'SERPROG_SUPPORT=1' OBJS += serprog.o +ifeq ($(OS_ARCH), SunOS) +LIBS += -lsocket +endif endif FEATURE_CFLAGS += $(shell LC_ALL=C grep -q "FTDISUPPORT := yes" .features && printf "%s" "-D'FT2232_SPI_SUPPORT=1'") -- cgit v1.2.3