mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-20 02:30:05 +02:00
23 lines
707 B
Plaintext
23 lines
707 B
Plaintext
From e33cbe01f9a0cc763a4699ff2a1792f1cd46f9ec Mon Sep 17 00:00:00 2001
|
|
From: Jerome Duval <jerome.duval@gmail.com>
|
|
Date: Tue, 28 Apr 2015 20:22:20 +0000
|
|
Subject: Haiku patch
|
|
|
|
|
|
diff --git a/aclocal.m4 b/aclocal.m4
|
|
index c67e572..7dfa4ce 100644
|
|
--- a/aclocal.m4
|
|
+++ b/aclocal.m4
|
|
@@ -1174,7 +1174,7 @@ AC_DEFUN(AC_LBL_LIBRARY_NET, [
|
|
AC_CHECK_LIB(socket, gethostbyname,
|
|
LIBS="-lsocket -lnsl $LIBS", , -lnsl)
|
|
fi
|
|
- AC_SEARCH_LIBS(socket, socket, ,
|
|
+ AC_SEARCH_LIBS(socket, socket network, ,
|
|
AC_CHECK_LIB(socket, socket, LIBS="-lsocket -lnsl $LIBS", , -lnsl))
|
|
# DLPI needs putmsg under HPUX so test for -lstr while we're at it
|
|
AC_SEARCH_LIBS(putmsg, str)
|
|
--
|
|
2.37.3
|
|
|