$NetBSD: patch-ae,v 1.3 2009/09/15 17:56:16 joerg Exp $

--- libhosts_gatherer/Makefile.orig	2009-09-11 16:33:49.000000000 +0200
+++ libhosts_gatherer/Makefile
@@ -22,7 +22,7 @@ install : libhosts_gatherer.la
 	$(LIBTOOL) --finish $(DESTDIR)${libdir}
 	
 libhosts_gatherer.la : $(OBJS)
-	$(LIBTOOL) $(CC) -o libhosts_gatherer.la $(LO_OBJS) -rpath ${libdir} \
+	$(LIBTOOL) --mode=link $(CC) -o libhosts_gatherer.la $(LO_OBJS) -rpath ${libdir} \
 	-version-info ${PACKAGE_VERSION}
 	        
 hg_utils.o : hg_utils.h hosts_gatherer.h hg_utils.c
