$NetBSD: patch-ai,v 1.1.1.1 1999/05/11 13:56:53 bad Exp $ --- indexer/Makefile.SH.orig Fri Apr 16 11:59:23 1999 +++ indexer/Makefile.SH Sun May 9 23:14:01 1999 @@ -56,7 +56,7 @@ CFLAGS = $ccflags $optimize -I\$(TOP)/lib/ir $mccflags $embed_cflags DPFLAGS = -I\$(TOP)/lib/ir $mccflags $embed_cflags -LDFLAGS = -L\$(TOP)/lib -lwais $socketlib -lm $embed_ldopts +LDFLAGS = ../lib/libwais.la $socketlib -lm $embed_ldopts BIN_EXP = $installbin USRINC = $usrinc OBJECTS = waisindex.o @@ -106,10 +106,10 @@ waisindex: waisindex.o $(RM) $@ if test -f $@; then $(MV) $@ $@~; else exit 0; fi - $(CC) -o $@ waisindex.o $(JLDFLAGS) $(LIBS) + $(LIBTOOL) --mode=link $(CC) -o $@ waisindex.o $(JLDFLAGS) $(LIBS) install:: waisindex - $(INSTALL) -c -s -m 555 waisindex $(BIN_EXP) + $(LIBTOOL) --mode=install $(INSTALL) -c -s -m 555 waisindex $(BIN_EXP) deinstall:: $(RM) $(BIN_EXP)/waisindex