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 32cb94c commit 0be0230Copy full SHA for 0be0230
setup.py
@@ -82,19 +82,24 @@ def _get_output(*args, **kwargs):
82
import ctypes.util
83
84
main_lib = os.environ.get('GSSAPI_MAIN_LIB', None)
85
+ main_path = ""
86
if main_lib is None and osx_has_gss_framework:
87
main_lib = ctypes.util.find_library('GSS')
88
elif main_lib is None:
89
for opt in link_args:
90
if opt.startswith('-lgssapi'):
91
main_lib = 'lib%s.so' % opt[2:]
92
93
+ # To support Heimdal on Debian, read the linker path.
94
+ if opt.startswith('-Wl,/'):
95
+ main_path = opt[4:] + "/"
96
+
97
if main_lib is None:
98
raise Exception("Could not find main GSSAPI shared library. Please "
99
"try setting GSSAPI_MAIN_LIB yourself or setting "
100
"ENABLE_SUPPORT_DETECTION to 'false'")
101
- GSSAPI_LIB = ctypes.CDLL(main_lib)
102
+ GSSAPI_LIB = ctypes.CDLL(main_path+main_lib)
103
104
105
# add in the flag that causes us not to compile from Cython when
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments