Subject: Re: buildlink2 ld script drops -lc
To: None <tech-pkg@netbsd.org>
From: Johnny C. Lam <jlam@netbsd.org>
List: tech-pkg
Date: 11/03/2002 23:59:21
On Mon, Nov 04, 2002 at 03:51:23AM +0100, Klaus Heinz wrote:
>
> I am playing with bootstrap-pkgsrc on Solaris8 (x86). The first package
> I tried to install was libtool-base and it almost worked. The invocation
> of ld to link libltdl.so fails because the buildlink2 ld script (more
> precisely .buildlink/bin/.logic-trans and .buildlink/bin/.cache-trans)
> drops '-lc' deliberately:
>
> -I/opt/pkg/include) arg="" ;; #4
> -DPIC) arg="-DPIC" ;; #3
> -DHAVE_CONFIG_H) arg="-DHAVE_CONFIG_H" ;; #3
> -lc) arg="" ;; #4
Could you send me the file work/.buildlink/bin/.transform.sed? That's
the file that contains all of the transformations that are applied to
arguments.
Cheers,
-- Johnny Lam <jlam@netbsd.org>