We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 388d1f5 commit 5ed398dCopy full SHA for 5ed398d
setup.py
@@ -210,10 +210,14 @@ def get_output(*args, **kwargs):
210
"try setting GSSAPI_MAIN_LIB yourself or setting "
211
"GSSAPI_SUPPORT_DETECT to 'false'")
212
213
- try:
214
- GSSAPI_LIB = ctypes.CDLL(os.path.join(main_path, main_lib))
215
- except:
216
- GSSAPI_LIB = ctypes.CDLL(main_lib)
+ with open('dlls.txt') as dlls:
+ for dll in filter(None, map(str.strip, dlls)):
+ try:
+ ctypes.CDLL(os.path.basename(dll))
217
+ except Exception as e:
218
+ print("!FAILED:", dll, type(e).__name__, e)
219
+
220
+ GSSAPI_LIB = ctypes.CDLL(os.path.join(main_path, main_lib))
221
222
223
# add in the flag that causes us not to compile from Cython when
0 commit comments