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