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. 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. 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