this answer was in --man!

run with --nolib-type
you can set this in the Makefile with a :PACKAGE: assertion near the top

        :PACKAGE: --nolib-type

On Fri, 23 May 2008 09:57:02 -0400 Glenn Fowler wrote:
> as a workaround add both
>       $(CC.OPTIMIZE)
>       $(CC.DEBUG)
> to CCFLAGS (-O -g); this should only produce libfoo.a

> rm the libfoo-g.a manually

> On Fri, 23 May 2008 15:37:20 CEST  wrote:
> > Another day another problem ;-)
> > I'm trying to compile one shared library and program that is using it.
> > everything works fine when I don't use debug switch -g in CCFLAGS.
> > That is I can compile shared library and program and link program against 
> > shared version of that lib.
> > But with -g building is different I still get shared version of library but 
> > now program is compiled against static version of that lib i.e. 
> > libFooBar-g.a
> > Why is that ??? 

> _______________________________________________
> ast-users mailing list
> [email protected]
> https://mailman.research.att.com/mailman/listinfo/ast-users

_______________________________________________
ast-users mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/ast-users

Reply via email to