summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac2
-rw-r--r--rpm.am4
2 files changed, 3 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index 536a115c1..c5b797e5a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -883,7 +883,7 @@ else
usrprefix=$prefix
fi
-RPMCONFIGDIR="`echo ${usrprefix}/lib/rpm`"
+RPMCONFIGDIR="`echo ${libdir}/rpm`"
AC_SUBST(RPMCONFIGDIR)
AC_SUBST(OBJDUMP)
diff --git a/rpm.am b/rpm.am
index d3bad8796..1f2303a79 100644
--- a/rpm.am
+++ b/rpm.am
@@ -1,7 +1,7 @@
# Internal binaries
## HACK: It probably should be $(libexecdir)/rpm or $(libdir)/rpm
-rpmlibexecdir = $(prefix)/lib/rpm
+rpmlibexecdir = $(libdir)/rpm
# Host independent config files
## HACK: it probably should be $(datadir)/rpm
-rpmconfigdir = $(prefix)/lib/rpm
+rpmconfigdir = $(libdir)/rpm