lwip-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-devel] subunit dependency for unit tests


From: Sylvain Rochet
Subject: Re: [lwip-devel] subunit dependency for unit tests
Date: Tue, 29 Sep 2015 11:18:03 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

Hi Erik,

On Mon, Sep 28, 2015 at 05:24:50PM +0200, Erik Ekman wrote:
> On Mon, Sep 28, 2015 at 12:04 PM, Sylvain Rochet <address@hidden>
> wrote:
> > On Mon, Sep 28, 2015 at 09:55:23AM +0200, Erik Ekman wrote:
> > >
> > > The tests compile and run fine for me without the new -lsubunit LDFLAG.
> > > Was that library meant to be used for something that is not yet built?
> >
> > This is necessary since check >= 0.10.0, I guess you are using an older
> > check version.
> 
> I see. I have 0.9.11 where it is optional. I had compiled without subunit
> support,
> but when recompiled with it 'pkg-config --libs check' still gives just
> -lcheck for me.

With 0.10.0, it changed to:

$ pkg-config --cflags check
-pthread 
$ pkg-config --libs check
-lcheck_pic -lrt -lm -lsubunit 


> > By the way, does it work using -lsubunit with an older check version ?
> > If not we will have to use pkg-config.
> 
> Yes, it works fine.

Great, then hard adding -lsubunit is an acceptable outcome.


Sylvain

Attachment: signature.asc
Description: Digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]