[openbeos] Re: Jamfile: LinkSharedOSLibs?

  • From: Ingo Weinhold <bonefish@xxxxxxxxxxxxxxx>
  • To: openbeos@xxxxxxxxxxxxx
  • Date: Wed, 31 Dec 2003 16:57:33 +0100

On 2003-12-31 at 12:55:25 [+0100], Waldemar Kornewald wrote:
> Hi,
> what is the difference beween:
> 
> Preference mypref :
>     source1.cpp
>     source2.cpp
>     : be root extralib.a
> ;
> 
> and
> 
> Preference mypref :
>     source1.cpp
>     source2.cpp
> ;
> 
> LinkSharedOSLibs mypref : be root extralib.a ;

The former one is shorter, I'd say. ;-)

There's actually no difference:

rule Preference
{
        # Preference <name> : <sources> : <libraries> ;
        SetupIncludes ;
        SetupObjectsDir ;
        Main $(1) : $(2) ;
        MakeLocate $(1) : $(OBOS_PREFS_DIR) ;
        LinkSharedOSLibs $(1) : $(3) ;
        LINKFLAGS on $(1) = [ on $(1) return $(LINKFLAGS) ]
                                                -Xlinker -soname=_APP_ ;
}

CU, Ingo

Other related posts: