summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>2016-03-13 12:57:03 +0000
committerStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>2016-03-13 12:57:03 +0000
commite7b00b072054ae6fc4879d9015543ad302fa01e0 (patch)
treee9c299b36ffcc06cc3da2fbcf9b6153fc7915df1 /Makefile
parent451c5ac5fa95d855bd69ff0266acbbfcfcb7fb45 (diff)
downloadflashrom-e7b00b072054ae6fc4879d9015543ad302fa01e0.zip
flashrom-e7b00b072054ae6fc4879d9015543ad302fa01e0.tar.gz
Fix compilation on SunOS
This came up when I was testing if building on SunOS still works on the buildbot's instance of OmniOS r151014 which is based on illumos. The fix is - to link against libnsl - a small C type fix in ich_descriptor_tool Corresponding to flashrom svn r1950. Signed-off-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 927105d..f94ec7b 100644
--- a/Makefile
+++ b/Makefile
@@ -926,7 +926,7 @@ endif
ifneq ($(NEED_POSIX_SOCKETS), )
ifeq ($(TARGET_OS), SunOS)
-LIBS += -lsocket
+LIBS += -lsocket -lnsl
endif
endif
OpenPOWER on IntegriCloud