Link librpmdb with -lpopt.

This commit is contained in:
Дмитрий Левин 2006-01-14 21:58:13 +00:00
parent 9f9af73c5c
commit 5ccf95cd08
2 changed files with 3 additions and 1 deletions

View File

@ -532,6 +532,7 @@ fi
- platform.in:
+ Set %%_verify_elf_method to
fhs=relaxed,rpath=normal,textrel=normal,unresolved=relaxed
- Link librpmdb with -lpopt.
* Wed Jan 11 2006 Dmitry V. Levin <ldv@altlinux.org> 4.0.4-alt55
- platform.in:

View File

@ -12,6 +12,7 @@ DBLIBSRCS = db3.c db1.c falloc.c
LIBDB = @libdb3@
LIBELF = @WITH_LIBELF_LIB@
LIBPOPT = @LIBPOPT@
pkgincdir = $(pkgincludedir)
pkginc_HEADERS = hdrinline.h rpmdb.h
@ -27,7 +28,7 @@ librpmdb_la_SOURCES = $(DBLIBSRCS) \
dbconfig.c hdrNVR.c header.c fprint.c legacy.c merge.c poptDB.c \
rpmhash.c rpmdb.c rpmvercmp.c tagname.c tagtbl.c
librpmdb_la_LDFLAGS = -release @VERSION@ @libdb3@
librpmdb_la_LIBADD = $(LIBDB) $(LIBELF) $(top_builddir)/rpmio/librpmio.la
librpmdb_la_LIBADD = $(LIBDB) $(LIBELF) $(LIBPOPT) $(top_builddir)/rpmio/librpmio.la
librpmdb_la_DEPENDENCIES = $(top_builddir)/rpmio/librpmio.la
tagtbl.c: Makefile.am $(top_srcdir)/lib/rpmlib.h