From 2d07882d45e9e575c00f8f402d4c7271bb65cfe9 Mon Sep 17 00:00:00 2001 From: Panu Matilainen Date: Thu, 26 Jul 2007 10:50:06 +0300 Subject: [PATCH] Get python to honor prefix on install --- python/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/Makefile.am b/python/Makefile.am index 642ccb4..964b27c 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 -- 2.7.4