aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/krb5/static-deps.diff
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/krb5/static-deps.diff')
-rw-r--r--vcpkg/ports/krb5/static-deps.diff23
1 files changed, 23 insertions, 0 deletions
diff --git a/vcpkg/ports/krb5/static-deps.diff b/vcpkg/ports/krb5/static-deps.diff
new file mode 100644
index 0000000..8baab4d
--- /dev/null
+++ b/vcpkg/ports/krb5/static-deps.diff
@@ -0,0 +1,23 @@
+diff --git a/src/build-tools/mit-krb5.pc.in b/src/build-tools/mit-krb5.pc.in
+index fdc5577..0cea3ec 100644
+--- a/src/build-tools/mit-krb5.pc.in
++++ b/src/build-tools/mit-krb5.pc.in
+@@ -12,4 +12,4 @@ Description: An implementation of Kerberos network authentication
+ Version: @KRB5_VERSION@
+ Cflags: -I${includedir}
+ Libs: -L${libdir} -lkrb5 -lk5crypto @COM_ERR_LIB@
+-Libs.private: -lkrb5support
++Libs.private: -lkrb5support @MACOS_FRAMEWORK@ @LIBS@ @DL_LIB@ @PTHREAD_CFLAGS@
+diff --git a/src/config/pre.in b/src/config/pre.in
+index 1197c1f..8bba26a 100644
+--- a/src/config/pre.in
++++ b/src/config/pre.in
+@@ -377,7 +377,7 @@ SUPPORT_LIB = -l$(SUPPORT_LIBNAME)
+ # HESIOD_LIBS is -lhesiod...
+ HESIOD_LIBS = @HESIOD_LIBS@
+
+-KRB5_BASE_LIBS = $(KRB5_LIB) $(K5CRYPTO_LIB) $(COM_ERR_LIB) $(SUPPORT_LIB) $(LIBS) $(DL_LIB)
++KRB5_BASE_LIBS = $(KRB5_LIB) $(K5CRYPTO_LIB) $(COM_ERR_LIB) $(SUPPORT_LIB) @MACOS_FRAMEWORK@ $(LIBS) $(DL_LIB)
+ KDB5_LIBS = $(KDB5_LIB) $(GSSRPC_LIBS)
+ GSS_LIBS = $(GSS_KRB5_LIB)
+ # needs fixing if ever used on macOS!