$NetBSD: patch-af,v 1.5 2019/09/06 08:46:26 nros Exp $ * use libtool --- lib/common/Makefile.orig Mon Mar 5 13:37:18 2001 +++ lib/common/Makefile @@ -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)