]> Zhao Yanbai Git Server - minix.git/commitdiff
build:make libminc a build dependency of services.
authorKees Jongenburger <kees.jongenburger@gmail.com>
Mon, 24 Mar 2014 15:31:17 +0000 (16:31 +0100)
committerLionel Sambuc <lionel@minix3.org>
Mon, 28 Jul 2014 15:05:21 +0000 (17:05 +0200)
Make libminc a build dependency of services to ensure the services
get rebuilt if libminc changes.

Change-Id: I703a9d98d7641a9a85e04d88402a7228ad0be19f

share/mk/minix.service.mk

index 3ab8be9d04ab748edbc93d114325bc50e2d67233..267449c15d8e0b524d55a6478538ef57edcdfdcf 100644 (file)
@@ -17,12 +17,14 @@ LDADD:= -nodefaultlibs ${LDADD}
 # 2. Compiler-specific libs
 .if !empty(CC:M*gcc)
 LDADD+= -lsys
+DPADD+= ${LIBSYS}
 .elif !empty(CC:M*clang)
 LDADD+= -L/usr/pkg/compiler-rt/lib -lCompilerRT-Generic -lsys -lCompilerRT-Generic
 .endif
 
 # 3. Minimal C library
 LDADD+= -lminc
+DPADD+= ${LIBMINC}
 
 .if ${MACHINE_ARCH} == "earm"
 LDADD+= -lc_vfp