[dev-python/python-blivet] add libudev patch

This commit is contained in:
Fabio Erculiani
2014-04-27 16:05:24 +01:00
parent 6e8202dadd
commit f78559bc32
2 changed files with 24 additions and 2 deletions
@@ -0,0 +1,11 @@
--- a/blivet/pyudev.py
+++ b/blivet/pyudev.py
@@ -9,7 +9,7 @@ from ctypes import CDLL, c_char_p, c_int
# XXX this one may need some tweaking...
def find_library(name, somajor=0):
env = os.environ.get("LD_LIBRARY_PATH")
- common = ["/lib64", "/lib"]
+ common = ["/lib64", "/lib", "/usr/lib64", "/usr/lib"]
if env:
libdirs = env.split(":") + common