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,
|
AC_DEFINE_UNQUOTED(SunOS, $sunos,
|
||||||
[Define to what version of SunOS you are running.])
|
[Define to what version of SunOS you are running.])
|
||||||
fi
|
fi
|
||||||
|
AM_CONDITIONAL(SUNOS, test "$sunos" != no)
|
||||||
])
|
])
|
||||||
|
@@ -198,6 +198,9 @@ EXTRA_libroken_la_SOURCES = \
|
|||||||
vis.hin
|
vis.hin
|
||||||
|
|
||||||
libroken_la_LIBADD = @LTLIBOBJS@ $(LIB_crypt) $(LIB_pidfile)
|
libroken_la_LIBADD = @LTLIBOBJS@ $(LIB_crypt) $(LIB_pidfile)
|
||||||
|
if SUNOS
|
||||||
|
libroken_la_LIBADD += -lnsl
|
||||||
|
endif
|
||||||
|
|
||||||
$(LTLIBOBJS) $(libroken_la_OBJECTS): roken.h $(XHEADERS)
|
$(LTLIBOBJS) $(libroken_la_OBJECTS): roken.h $(XHEADERS)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user