From 83b3b0dff184a9ae4ace4764d7736cd8735503f6 Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Mon, 24 Feb 2003 00:35:09 +0000 Subject: [PATCH] Added optional libraries parameter to Addon rule. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2817 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- Jamrules | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Jamrules b/Jamrules index ee370dad5f..bdfd5eb925 100644 --- a/Jamrules +++ b/Jamrules @@ -610,11 +610,12 @@ rule SimpleTest rule Addon { - # Addon : : : ; + # Addon : : : : ; # : Name of the add-on. # : Path where the add-on shall live relative to the add-on dir. # : Source files. - # : true, if the target shall be executable as well + # : true, if the target shall be executable as well. + # : Libraries to be linked against. local isExecutable = $(4) ; @@ -633,6 +634,7 @@ rule Addon linkFlags = -nostart $(linkFlags) ; } LINKFLAGS on $(1) = [ on $(1) return $(LINKFLAGS) ] $(linkFlags) ; + LinkSharedOSLibs $(1) : $(5) ; } rule R5KernelAddon