Fix build when SEPOL environment variable is set

Closes: #59
This commit is contained in:
Laurent Bigonville 2015-12-16 15:40:49 +01:00
parent a93682f5f7
commit 5d04579d13

View File

@ -58,7 +58,7 @@ class BuildExtCommand(build_ext):
try:
static_sepol = [os.environ['SEPOL']]
static_sepol = os.environ['SEPOL']
except KeyError:
# try to find libsepol.a. The find_library_file function
# chooses dynamic libraries over static ones, so