]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Fix install location for Python bindings
authorMatthias Bolte <matthias.bolte@googlemail.com>
Fri, 11 Dec 2009 23:11:31 +0000 (00:11 +0100)
committerMatthias Bolte <matthias.bolte@googlemail.com>
Mon, 14 Dec 2009 21:14:06 +0000 (22:14 +0100)
commitd0857c0132a857250a941f15b502b5092ca21d63
tree23ebdf14375cfd8392b08d75c479d0676afc6273
parent803d320430bd0c2ac673efde814776d9dcd04b1b
Fix install location for Python bindings

Commit 66137344feb488ea87b0d92f3c03844d9a7a7786 changed the Python detection
mechanism in configure to use AM_PATH_PYTHON. This results in a changed
install location for the Python bindings, at least on Fedora 12 64bit systems.

Before this commit libvirt.py and libvirtmod.so were installed to

  /usr/lib64/python2.6/site-packages

After this commit they are installed to

  /usr/lib/python2.6/site-packages

Mixed Python packages (containing *.py and *.so files) should be installed to
the pyexecdir directory detected by AM_PATH_PYTHON.

This restores the install location from before the AM_PATH_PYTHON commit.

* configure.in: remove unnecessary pythondir export
* python/Makefile.am: switch from pythondir to pyexecdir
configure.in
python/Makefile.am