Added some Fedora paths to library directory list.

pull/15/head
Jussi Pakkanen 11 years ago
parent 85972c848d
commit 60c1bacfaa
  1. 2
      dependencies.py
  2. 5
      environment.py

@ -161,7 +161,7 @@ class ExternalLibrary(Dependency):
if self.found():
mlog.log('Library', mlog.bold(name), 'found:', mlog.green('YES'), '(%s)' % self.fullpath)
else:
mlog.log('Library', mlog.bold(name), 'found:,', mlog.red('NO'))
mlog.log('Library', mlog.bold(name), 'found:', mlog.red('NO'))
def found(self):
return self.fullpath is not None

@ -1518,6 +1518,11 @@ def get_library_dirs():
if plat == 'i686':
plat = 'i386'
unixdirs += glob('/usr/lib/' + plat + '*')
if os.path.exists('/usr/lib64'):
unixdirs.append('/usr/lib64')
unixdirs += glob('/lib/' + plat + '*')
if os.path.exists('/lib64'):
unixdirs.append('/lib64')
unixdirs += glob('/lib/' + plat + '*')
unixdirs.append('/usr/local/lib')
return unixdirs

Loading…
Cancel
Save