On Mon, Jan 28, 2013 at 10:46:51PM +0100, David Sterba wrote:
> On Mon, Jan 28, 2013 at 07:41:01PM +0100, Ian Kumlien wrote:
> > > I tried to build 'btrfs' only and moved the static libs definition to
> > > the beginning (still needs the uuid static library though):
> > 
> > Which you haven't included - you sould also include btrfsck at bare
> > minimum ;)
> > 
> > > --- a/Makefile
> > > +++ b/Makefile
> > > @@ -19,6 +19,7 @@ prefix ?= /usr/local
> > > +STATIC_LIBS= -lpthread
> > > +static: CFLAGS += -static
> > > +static: LIBS = $(STATIC_LIBS)
> > 
> > I think you mean += since this will not build since it misses libuuid
> > 
> > If you don't have the libs to do a static build - that is one thing but
> > it should work =)
> 
> Resume: if the distro contains all required libs as static, then your
> patch works.

Yeah... But if it's shipped in a dist i assume they will create static
versions and srip them, just like it seems that other dists does.

> I wanted to get an idea how the static build would go so my patch
> was a dirty workaroud, that did not work in the end anyway.

=) I was a bit confused about it - but you are right, 'btrfs' and
'btrfsck' is the only two we really need to have as static...

> david
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to