Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(330)

Unified Diff: net/net.gyp

Issue 7655046: Linux: allow linking directly with Kerberos instead of using dlopen. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: install-build-deps Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: net/net.gyp
diff --git a/net/net.gyp b/net/net.gyp
index fb55d21a90265a66082c40b784df50cc1c00ab53..8f43b69a656b9e458746bf7b755849a1421d97c3 100644
--- a/net/net.gyp
+++ b/net/net.gyp
@@ -7,6 +7,7 @@
'chromium_code': 1,
'use_kerberos%': 1,
+ 'linux_link_kerberos%': 0,
},
'targets': [
{
@@ -710,6 +711,19 @@
'defines': [
'USE_KERBEROS',
],
+ 'conditions': [
+ ['linux_link_kerberos==1', {
+ 'link_settings': {
+ 'ldflags': [
+ '<!@(krb5-config --libs gssapi)',
+ ],
+ },
+ }, { # linux_link_kerberos==0
+ 'defines': [
+ 'DLOPEN_KERBEROS',
+ ],
+ }],
+ ],
}, { # use_kerberos == 0
'sources!': [
'http/http_auth_gssapi_posix.cc',

Powered by Google App Engine
This is Rietveld 408576698