Fixes linker error on Ubuntu 12.10 due to unresolved symbols. Signed-off-by: Andreas Oberritter <obi@xxxxxxxxxxx> --- Makefile.rules | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.rules b/Makefile.rules index f2ba386..58b4bb2 100644 --- a/Makefile.rules +++ b/Makefile.rules @@ -44,8 +44,8 @@ CXXFLAGS = $(CFLAGS) LD = ld SOLDFLAGS = -shared -CFLAGS += -D_REENTRANT -D_FILE_OFFSET_BITS=64 -LDFLAGS += -lpthread +CFLAGS += -pthread -D_FILE_OFFSET_BITS=64 +LDFLAGS += -pthread ifdef TIRPCLIB CFLAGS += -I/usr/include/tirpc -- 1.7.10.4 -- To unsubscribe from this list: send the line "unsubscribe autofs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html