popt is it's own library

CVS patchset: 1834
CVS date: 1997/09/19 14:08:10
This commit is contained in:
ewt 1997-09-19 14:08:10 +00:00
parent 23a9844516
commit b7d6861f74
4 changed files with 5 additions and 4 deletions

View File

@ -4,6 +4,7 @@
- added Obsoletes: tag, an upgrade removes packages which
have been obsoleted
- updated rpmdepUpgradePackage() to deal with obsoletes tag
- moved popt into a separate library
2.4.6 -> 2.4.7:
- had some wrong month lengths in changelog date parsing

View File

@ -30,13 +30,13 @@ ETCDIR=$(ROOT)/etc
# -----------------------------------------------------------------------
SUBDIRS = misc lib build tools @PO@
SUBDIRS = popt misc lib build tools @PO@
INSTSUBDIRS = lib @PO@
OTHERSUBDIRS = docs autodeps
OBJS = rpm.o query.o install.o verify.o checksig.o ftp.o url.o @GETTEXTSTUB@
PROGS = @RPM@ rpm2cpio
LIBS = @LIBS@ @LIBINTL@ @LIBDL@
LOADLIBES = -lbuild $(topdir)/lib/librpm.a -lmisc
LOADLIBES = -lbuild popt/libpopt.a $(topdir)/lib/librpm.a -lmisc
SOURCES = $(subst .o,.c,$(OBJS))

View File

@ -3,7 +3,7 @@ VPATH = $(srcdir)
include $(srcdir)/../Makefile.inc
LIBOBJECTS = @MISCOBJS@ popt.o
LIBOBJECTS = @MISCOBJS@
LIBMISC = libmisc.a
# -----------------------------------------------------------------------

2
rpm.c
View File

@ -23,7 +23,7 @@
#include "intl.h"
#include "lib/messages.h"
#include "lib/signature.h"
#include "misc/popt.h"
#include "popt/popt.h"
#include "miscfn.h"
#include "query.h"
#include "rpmlib.h"