Index: dialog-1.2-20121230/makefile.in =================================================================== --- dialog-1.2-20121230.orig/makefile.in +++ dialog-1.2-20121230/makefile.in @@ -179,11 +179,11 @@ dialog$o \ $(OBJECTS) : $(srcdir)/dialog.h $(srcdir)/dlg_keys.h dlg_config.h VERSION $(LIB) : $(LIB_OBJECT) - $(LIBTOOL_CREATE) $(LIB) $(LIB_OBJECT) + $(LIBTOOL_CREATE) $(LIB) $(LIB_OBJECT) $(LIBS) $(RANLIB) $@ $(PROG)$x : $(LIB) dialog$o @INTLDIR_MAKE@ @INTLLIBS@ - $(LINK) -o $@ dialog$o -L. -l@PACKAGE@ $(LDFLAGS) $(LIBS) + $(LINK) -o $@ dialog$o -L. -l@PACKAGE@ $(LDFLAGS) clean \ distclean \