Skip to content

Commit

Permalink
Ensure test suite works with RHEL /usr/lib64
Browse files Browse the repository at this point in the history
  • Loading branch information
frozencemetery committed Mar 24, 2016
1 parent 163f7e5 commit 833d6c6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions gssapi/tests/_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,11 @@ def _find_plugin_dir():

# if there was no LD_LIBRARY_PATH, or the above failed
if _PLUGIN_DIR is None:
# if we don't have a LD_LIBRARY_PATH, just search in
# $prefix/lib
lib_dir = os.path.join(get_output('krb5-config --prefix'), 'lib64')
_PLUGIN_DIR = _decide_plugin_dir(_find_plugin_dirs_installed(lib_dir))

# /usr/lib64 has only been observed on RHEL
if _PLUGIN_DIR is None:
lib_dir = os.path.join(get_output('krb5-config --prefix'), 'lib')
_PLUGIN_DIR = _decide_plugin_dir(_find_plugin_dirs_installed(lib_dir))

Expand Down

0 comments on commit 833d6c6

Please sign in to comment.