summaryrefslogtreecommitdiffstats
path: root/net/net.gyp
diff options
context:
space:
mode:
authorphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-23 21:46:30 +0000
committerphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-23 21:46:30 +0000
commitb4887d47dab13dc66f0b3e6f4b6a4a5245e2b3be (patch)
tree6937211f0393180017ea11ff32083e7611e2da48 /net/net.gyp
parentd7aed5ba1211dbbe558135f2c72a2e1b68cd0ef5 (diff)
downloadchromium_src-b4887d47dab13dc66f0b3e6f4b6a4a5245e2b3be.zip
chromium_src-b4887d47dab13dc66f0b3e6f4b6a4a5245e2b3be.tar.gz
chromium_src-b4887d47dab13dc66f0b3e6f4b6a4a5245e2b3be.tar.bz2
Linux: allow linking directly with Kerberos instead of using dlopen.
dlopen is still the default for Google Chrome. This option is intended for Linux distro packagers. BUG=92689 Review URL: http://codereview.chromium.org/7655046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97925 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/net.gyp')
-rw-r--r--net/net.gyp14
1 files changed, 14 insertions, 0 deletions
diff --git a/net/net.gyp b/net/net.gyp
index fb55d21..8f43b69 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',