]> Zhao Yanbai Git Server - minix.git/commitdiff
-lminixutil link fixes
authorBen Gras <ben@minix3.org>
Fri, 3 Feb 2012 13:03:59 +0000 (14:03 +0100)
committerBen Gras <ben@minix3.org>
Mon, 6 Feb 2012 15:08:29 +0000 (16:08 +0100)
. not available and not needed for clang

drivers/random/Makefile
servers/inet/Makefile

index eb329d3394adf5aca782df6ba9117b8589730e31..c84aacecf52f036ddbd1d0c0cc169ae6d313a2f7 100644 (file)
@@ -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=
 
index a0096328561d41752dd34bf94a98f8417e7f09e6..09271b63bc69b5fb06dd5e8b4436553720adff74 100644 (file)
@@ -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=