$NetBSD: patch-ab,v 1.5 1998/12/14 02:17:10 tv Exp $ --- Makefile.in.orig Fri Dec 11 08:26:26 1998 +++ Makefile.in Sun Dec 13 17:33:34 1998 @@ -153,7 +153,7 @@ lib: $(LIBSUBDIRS) $(X11SUBDIRS) $(LIB_TARGET) wine wine.sym: $(LIBSUBDIRS) $(X11SUBDIRS) $(LIB_TARGET) $(EMUSUBDIRS) dummy - $(CC) -o wine $(EMUOBJS) $(LIB_TARGET) $(ALT_LINK) $(LDOPTIONS) $(X_LIBS) $(XLIB) $(LIBS) + $(CC) -o wine $(EMUOBJS) -L. -lwine $(ALT_LINK) $(LDOPTIONS) $(X_LIBS) $(XLIB) $(LIBS) nm -n wine | grep -v _compiled >wine.sym @echo "Wine build complete." @@ -163,7 +163,7 @@ $(RANLIB) $@ libwine.so.1.0: $(LIBOBJS) $(X11OBJS) - $(CC) -shared -Wl,-soname,libwine.so -o$@ $(LIBOBJS) $(X11OBJS) $(LDOPTIONS) $(X_LIBS) $(XLIB) $(LIBS) + ${LDSHARE} -o$@ $(LIBOBJS) $(X11OBJS) $(LDOPTIONS) install_emu: install_lib [ -d $(bindir) ] || $(MKDIR) $(bindir)