From: Ben Gras Date: Fri, 3 Feb 2012 13:03:59 +0000 (+0100) Subject: -lminixutil link fixes X-Git-Tag: v3.2.0~83 X-Git-Url: http://zhaoyanbai.com/repos/icons/debian/static/man.7.ps?a=commitdiff_plain;h=cc1ae59c9b16a712f32ea08c34ce7b95864bad76;p=minix.git -lminixutil link fixes . not available and not needed for clang --- diff --git a/drivers/random/Makefile b/drivers/random/Makefile index eb329d339..c84aacecf 100644 --- a/drivers/random/Makefile +++ b/drivers/random/Makefile @@ -5,7 +5,10 @@ SRCS= main.c random.c rijndael_api.c rijndael_alg.c .PATH: ${.CURDIR}/aes DPADD+= ${LIBCHARDRIVER} ${LIBSYS} ${LIBMINIXUTIL} -LDADD+= -lchardriver -lsys -lminixutil +LDADD+= -lchardriver -lsys +.if ${COMPILER_TYPE} != "gnu" +LDADD+= -lminixutil +.endif MAN= diff --git a/servers/inet/Makefile b/servers/inet/Makefile index a00963285..09271b63b 100644 --- a/servers/inet/Makefile +++ b/servers/inet/Makefile @@ -13,10 +13,12 @@ SRCS= buf.c clock.c inet.c inet_config.c \ .PATH: ${.CURDIR}/generic DPADD+= ${LIBCHARDRIVER} ${LIBSYS} ${LIBMINIXUTIL} -LDADD+= -lchardriver -lsys -lminixutil +LDADD+= -lchardriver -lsys .if ${COMPILER_TYPE} == "gnu" LDADD+= -lc +.else +LDADD+= -lminixutil .endif MAN=