From: Thomas Veerman Date: Thu, 2 Feb 2012 15:00:01 +0000 (+0000) Subject: APFS: fix link issue when compiling with Clang X-Git-Tag: v3.2.0~88 X-Git-Url: http://zhaoyanbai.com/repos/pkcs11-list.html?a=commitdiff_plain;h=b33f504e8f06ff2b9785d2a6cdd5271650697117;p=minix.git APFS: fix link issue when compiling with Clang --- diff --git a/servers/apfs/Makefile b/servers/apfs/Makefile index 6c6cbe4d7..18f5305f5 100644 --- a/servers/apfs/Makefile +++ b/servers/apfs/Makefile @@ -7,6 +7,10 @@ SRCS= open.c table.c inode.c main.c super.c link.c \ DPADD+= ${LIBSYS} LDADD+= -lsys +.if ${COMPILER_TYPE} == "gnu" +LDADD+= -lc +.endif + MAN= BINDIR?= /usr/sbin