app-emulation/lxc: fix compilation with USE=+python
authorMatthias Maier <tamiko@gentoo.org>
Wed, 4 Apr 2018 21:04:19 +0000 (16:04 -0500)
committerMatthias Maier <tamiko@gentoo.org>
Wed, 4 Apr 2018 21:04:58 +0000 (16:04 -0500)
Thanks to Arfrever for pointing this out!

Closes: https://bugs.gentoo.org/646702
Bug: https://bugs.gentoo.org/631624#c2
Package-Manager: Portage-2.3.28, Repoman-2.3.9

app-emulation/lxc/lxc-2.1.1.ebuild

index 304701cf00532d0195d299abb133c33f0f3ea0e8..e02adaf47ad31c5604e0a3c0d0c84eb7afe9cab8 100644 (file)
@@ -146,7 +146,7 @@ src_configure() {
 }
 
 python_compile() {
-       distutils-r1_python_compile build_ext -I ../ -L ../${PN}
+       distutils-r1_python_compile build_ext -I.. -L../lxc/.libs --no-pkg-config
 }
 
 src_compile() {