summaryrefslogtreecommitdiff
path: root/rpmdb/Makefile.am
diff options
context:
space:
mode:
authorRalf Corsépius <corsepiu@fedoraproject.org>2007-08-31 08:53:03 +0200
committerRalf Corsépius <corsepiu@fedoraproject.org>2007-08-31 08:53:03 +0200
commit7e2924132655a0efbca983853b20418bc3c22240 (patch)
tree0c744d10be4d28b8aed3648627301a3d3e50683d /rpmdb/Makefile.am
parent33ad0689f91b48e706b06648f1be774848526ec7 (diff)
downloadrpm-7e2924132655a0efbca983853b20418bc3c22240.tar.gz
rpm-7e2924132655a0efbca983853b20418bc3c22240.tar.bz2
rpm-7e2924132655a0efbca983853b20418bc3c22240.zip
Attempt to improve libdb_la handling.
Diffstat (limited to 'rpmdb/Makefile.am')
-rw-r--r--rpmdb/Makefile.am5
1 files changed, 3 insertions, 2 deletions
diff --git a/rpmdb/Makefile.am b/rpmdb/Makefile.am
index 352e50a1c..0773a6001 100644
--- a/rpmdb/Makefile.am
+++ b/rpmdb/Makefile.am
@@ -80,8 +80,9 @@ db.h:
@ln -sf ../$(WITH_DB_SUBDIR)/db.h $@
# XXX grrr, force noinst libdb.la for db3.
-$(libdb_la):
- sed -e"/^libdir=/s/^.*$$/libdir=''/" < $(top_builddir)/$(WITH_DB_SUBDIR)/libdb-4.6.la > $(libdb_la)
+$(libdb_la): $(top_builddir)/$(WITH_DB_SUBDIR)/libdb-4.6.la
+ sed -e"/^libdir=/s/^.*$$/libdir=''/" \
+ < $(top_builddir)/$(WITH_DB_SUBDIR)/libdb-4.6.la > $(libdb_la)
rpmdb_archive_SOURCES =
rpmdb_archive_LDADD = \