Skip to content

Commit 4b1f423

Browse files
committed
Document how to use a non-detected Kerberos lib
1 parent a7de108 commit 4b1f423

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.txt

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,16 @@ Easy Way
6868

6969
$ pip install gssapi
7070

71+
You can also use a specific Kerberos library by defining the `GSSAPI_*`
72+
environment variables:
73+
74+
.. code-block:: bash
75+
76+
$ export GSSAPI_LINKER_ARGS="$(krb5-config --libs gssapi)"
77+
$ export GSSAPI_COMPILER_ARGS="$(krb5-config --cflags gssapi)"
78+
$ # Too many variants, search for GSSAPI_MAIN_LIB in setup.py
79+
$ export GSSAPI_MAIN_LIB="$PATH_TO/lib/yourkerberoslib.ext"
80+
7181
From the Git Repo
7282
-----------------
7383

0 commit comments

Comments
 (0)