]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
ntlm_sspi_auth: Fix missing base64 symbol linkage (#2031)
authorFrancesco Chemolli <5175948+kinkie@users.noreply.github.com>
Sat, 22 Mar 2025 22:30:29 +0000 (22:30 +0000)
committerSquid Anubis <squid-anubis@squid-cache.org>
Sat, 22 Mar 2025 22:36:48 +0000 (22:36 +0000)
Solve build error:

```
ld: ntlm_sspi_auth.o: in function `token_decode':
    undefined reference to `nettle_base64_decode_init'
    undefined reference to `nettle_base64_decode_update'
    undefined reference to `nettle_base64_decode_final'
```

src/auth/ntlm/SSPI/Makefile.am

index d9d1b603cb065195f103ba1d529deba3c3e3bb5f..3e0f6f76efb26d0f8f4f32e1c25a0823695b0c7d 100644 (file)
@@ -16,6 +16,7 @@ ntlm_sspi_auth_LDADD= \
        $(top_builddir)/lib/sspi/libsspwin32.la \
        $(top_builddir)/lib/libmiscencoding.la \
        $(COMPAT_LIB) \
+       $(LIBNETTLE_LIBS) \
        -lnetapi32 \
        -ladvapi32 \
        $(XTRA_LIBS)