--- lib/common/Makefile.orig 2009-07-12 11:21:10.000000000 -0500 +++ lib/common/Makefile 2009-07-12 11:22:01.000000000 -0500 @@ -56,7 +56,7 @@ # rule to create .o files from .c files .c.o: $(RM) $@ - $(CC) $(CFLAGS) -DVERSION=$(VERSION) $(CPPFLAGS) $(INCLUDES) -c $< + $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) -DVERSION=$(VERSION) $(CPPFLAGS) $(INCLUDES) -c $< # targets to build all: $(TARGET)