roken: fix Solaris build
libroken needs to be linked against libnsl for inet_ntoa()
This commit is contained in:
@@ -26,4 +26,5 @@ if test "$sunos" != no; then
|
||||
AC_DEFINE_UNQUOTED(SunOS, $sunos,
|
||||
[Define to what version of SunOS you are running.])
|
||||
fi
|
||||
AM_CONDITIONAL(SUNOS, test "$sunos" != no)
|
||||
])
|
||||
|
@@ -198,6 +198,9 @@ EXTRA_libroken_la_SOURCES = \
|
||||
vis.hin
|
||||
|
||||
libroken_la_LIBADD = @LTLIBOBJS@ $(LIB_crypt) $(LIB_pidfile)
|
||||
if SUNOS
|
||||
libroken_la_LIBADD += -lnsl
|
||||
endif
|
||||
|
||||
$(LTLIBOBJS) $(libroken_la_OBJECTS): roken.h $(XHEADERS)
|
||||
|
||||
|
Reference in New Issue
Block a user