| 1 |
From: Brian May <[email protected]> |
| 2 |
Date: Wed, 26 Apr 2017 06:29:23 +1000 |
| 3 |
Subject: Link Gssapi |
| 4 |
|
| 5 |
Link against just build gssapi, instead of the system one this resolves |
| 6 |
FTBFS when gssapi adds new symbols. |
| 7 |
|
| 8 |
Author: Dimitri John Ledkov <[email protected]> |
| 9 |
--- |
| 10 |
kadmin/Makefile.am | 1 + |
| 11 |
kdc/Makefile.am | 4 ++++ |
| 12 |
kpasswd/Makefile.am | 1 + |
| 13 |
lib/hdb/Makefile.am | 1 + |
| 14 |
lib/kadm5/Makefile.am | 2 ++ |
| 15 |
5 files changed, 9 insertions(+) |
| 16 |
|
| 17 |
diff --git a/kadmin/Makefile.am b/kadmin/Makefile.am |
| 18 |
index 74a2d54..337bb52 100644 |
| 19 |
--- a/kadmin/Makefile.am |
| 20 |
+++ b/kadmin/Makefile.am |
| 21 |
@@ -62,6 +62,7 @@ check_PROGRAMS = $(TESTS) |
| 22 |
LDADD_common = \ |
| 23 |
$(top_builddir)/lib/hdb/libhdb.la \ |
| 24 |
$(top_builddir)/lib/krb5/libkrb5.la \ |
| 25 |
+ $(LIB_gssapi) \ |
| 26 |
$(LIB_hcrypto) \ |
| 27 |
$(top_builddir)/lib/asn1/libasn1.la \ |
| 28 |
$(LIB_roken) \ |
| 29 |
diff --git a/kdc/Makefile.am b/kdc/Makefile.am |
| 30 |
index 842b5a8..465d1bc 100644 |
| 31 |
--- a/kdc/Makefile.am |
| 32 |
+++ b/kdc/Makefile.am |
| 33 |
@@ -84,6 +84,7 @@ hprop_LDADD = \ |
| 34 |
$(top_builddir)/lib/hdb/libhdb.la \ |
| 35 |
$(top_builddir)/lib/krb5/libkrb5.la \ |
| 36 |
$(LIB_kdb) \ |
| 37 |
+ $(LIB_gssapi) \ |
| 38 |
$(LIB_hcrypto) \ |
| 39 |
$(top_builddir)/lib/asn1/libasn1.la \ |
| 40 |
$(LIB_roken) \ |
| 41 |
@@ -93,6 +94,7 @@ hpropd_LDADD = \ |
| 42 |
$(top_builddir)/lib/hdb/libhdb.la \ |
| 43 |
$(top_builddir)/lib/krb5/libkrb5.la \ |
| 44 |
$(LIB_kdb) \ |
| 45 |
+ $(LIB_gssapi) \ |
| 46 |
$(LIB_hcrypto) \ |
| 47 |
$(top_builddir)/lib/asn1/libasn1.la \ |
| 48 |
$(LIB_roken) \ |
| 49 |
@@ -108,6 +110,7 @@ libkdc_la_LIBADD = \ |
| 50 |
$(top_builddir)/lib/krb5/libkrb5.la \ |
| 51 |
$(LIB_kdb) \ |
| 52 |
$(top_builddir)/lib/ntlm/libheimntlm.la \ |
| 53 |
+ $(LIB_gssapi) \ |
| 54 |
$(LIB_hcrypto) \ |
| 55 |
$(LIB_openssl_crypto) \ |
| 56 |
$(top_builddir)/lib/asn1/libasn1.la \ |
| 57 |
@@ -116,6 +119,7 @@ libkdc_la_LIBADD = \ |
| 58 |
|
| 59 |
LDADD = $(top_builddir)/lib/hdb/libhdb.la \ |
| 60 |
$(top_builddir)/lib/krb5/libkrb5.la \ |
| 61 |
+ $(LIB_gssapi) \ |
| 62 |
$(LIB_hcrypto) \ |
| 63 |
$(top_builddir)/lib/asn1/libasn1.la \ |
| 64 |
$(LIB_roken) \ |
| 65 |
diff --git a/kpasswd/Makefile.am b/kpasswd/Makefile.am |
| 66 |
index 88132df..7b85dfc 100644 |
| 67 |
--- a/kpasswd/Makefile.am |
| 68 |
+++ b/kpasswd/Makefile.am |
| 69 |
@@ -23,6 +23,7 @@ kpasswdd_LDADD = \ |
| 70 |
$(DB3LIB) $(DB1LIB) $(LMDBLIB) $(NDBMLIB) |
| 71 |
|
| 72 |
LDADD = $(top_builddir)/lib/krb5/libkrb5.la \ |
| 73 |
+ $(LIB_gssapi) \ |
| 74 |
$(LIB_hcrypto) \ |
| 75 |
$(top_builddir)/lib/asn1/libasn1.la \ |
| 76 |
$(LIB_roken) |
| 77 |
diff --git a/lib/hdb/Makefile.am b/lib/hdb/Makefile.am |
| 78 |
index 448b024..74bc107 100644 |
| 79 |
--- a/lib/hdb/Makefile.am |
| 80 |
+++ b/lib/hdb/Makefile.am |
| 81 |
@@ -43,6 +43,7 @@ CLEANFILES = $(BUILT_SOURCES) $(gen_files_hdb) \ |
| 82 |
LDADD = libhdb.la \ |
| 83 |
../krb5/libkrb5.la \ |
| 84 |
../asn1/libasn1.la \ |
| 85 |
+ $(LIB_gssapi) \ |
| 86 |
$(LIB_hcrypto) \ |
| 87 |
$(LIB_roken) \ |
| 88 |
$(LIB_openldap) \ |
| 89 |
diff --git a/lib/kadm5/Makefile.am b/lib/kadm5/Makefile.am |
| 90 |
index 9d8aba0..8ae1d1d 100644 |
| 91 |
--- a/lib/kadm5/Makefile.am |
| 92 |
+++ b/lib/kadm5/Makefile.am |
| 93 |
@@ -138,6 +138,7 @@ LDADD = \ |
| 94 |
$(top_builddir)/lib/hdb/libhdb.la \ |
| 95 |
$(top_builddir)/lib/krb5/libkrb5.la \ |
| 96 |
$(top_builddir)/lib/asn1/libasn1.la \ |
| 97 |
+ $(LIB_gssapi) \ |
| 98 |
$(LIB_hcrypto) \ |
| 99 |
$(LIB_roken) \ |
| 100 |
$(DB3LIB) $(DB1LIB) $(LMDBLIB) $(NDBMLIB) \ |
| 101 |
@@ -149,6 +150,7 @@ iprop_log_LDADD = \ |
| 102 |
$(top_builddir)/lib/hdb/libhdb.la \ |
| 103 |
$(top_builddir)/lib/krb5/libkrb5.la \ |
| 104 |
$(top_builddir)/lib/asn1/libasn1.la \ |
| 105 |
+ $(LIB_gssapi) \ |
| 106 |
$(LIB_hcrypto) \ |
| 107 |
$(top_builddir)/lib/sl/libsl.la \ |
| 108 |
$(LIB_readline) \ |