acl and attr: libmisc linkage
Hello,
I noticed that in some cases, gcc is unhappy when libmisc.a is specified after libattr.so and libacl.so, and doesn't link in stuff from libmisc.a (specifically, walk_tree). I don't know the exact reason for this behavior, but putting libmisc.a before the dynamic libraries fixes the problem, i.e., like this:
-LLDLIBS = $(LIBACL) $(LIBATTR) $(LIBMISC) -LTDEPENDENCIES = $(LIBACL) $(LIBMISC) +LLDLIBS = $(LIBMISC) $(LIBACL) $(LIBATTR) +LTDEPENDENCIES = $(LIBMISC) $(LIBACL)
Is that acceptable?
Thanks,
Andreas