summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2007-07-26 10:50:06 +0300
committerPanu Matilainen <pmatilai@redhat.com>2007-07-26 10:50:06 +0300
commit2d07882d45e9e575c00f8f402d4c7271bb65cfe9 (patch)
treebba784a12a233c838119287bd310fe28ceccc582 /python
parent4bcd08549d811907b52082ec531d6d20a21f9e56 (diff)
downloadrpm-2d07882d45e9e575c00f8f402d4c7271bb65cfe9.tar.gz
rpm-2d07882d45e9e575c00f8f402d4c7271bb65cfe9.tar.bz2
rpm-2d07882d45e9e575c00f8f402d4c7271bb65cfe9.zip
Get python to honor prefix on install
Diffstat (limited to 'python')
-rw-r--r--python/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/Makefile.am b/python/Makefile.am
index 642ccb4ee..964b27c0d 100644
--- a/python/Makefile.am
+++ b/python/Makefile.am
@@ -39,7 +39,7 @@ mylibs= \
LDADD =
-pyrpmdir = $(pylibdir)/rpm
+pyrpmdir = `${__PYTHON} -c 'from distutils.sysconfig import *; print get_python_lib(1, prefix="@prefix@")'`/rpm
pyrpm_LTLIBRARIES = _rpmmodule.la
pyrpm_SCRIPTS = rpm/__init__.py