summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>2012-05-18 18:20:15 +0300
committerMarkus Lehtonen <markus.lehtonen@linux.intel.com>2014-06-09 12:26:42 +0300
commit4807445747c306747a8ff5ef33dfebae58814db0 (patch)
treec112c4e10eb920f092515cdc16d37e5f9cbcc077
parentf45567c2da6abb4562d42907bf9f614174baa3ff (diff)
downloadlibrpm-tizen-4807445747c306747a8ff5ef33dfebae58814db0.tar.gz
librpm-tizen-4807445747c306747a8ff5ef33dfebae58814db0.tar.bz2
librpm-tizen-4807445747c306747a8ff5ef33dfebae58814db0.zip
Relocate {prefix}/lib/rpm under {libdir}/rpm
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
-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