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

Unified Diff: build/linux/system.gyp

Issue 515021: Linux: fix scons build so that libssl gets the right headers. (Closed)
Patch Set: Created 11 years 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
« no previous file with comments | « no previous file | net/socket/ssl_client_socket_nss.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/linux/system.gyp
diff --git a/build/linux/system.gyp b/build/linux/system.gyp
index c51d0a7ab63ae214da0f2ab7109cabd1668fcce1..62bbcbb1e3a374e6bb2f2abee171552551acdce2 100644
--- a/build/linux/system.gyp
+++ b/build/linux/system.gyp
@@ -81,7 +81,15 @@
],
'direct_dependent_settings': {
'cflags': [
- '-Inet/third_party/nss/ssl',
+ # We need for our local copies of the libssl headers to come
+ # first, otherwise the code will build, but will fallback to
+ # the set of features advertised in the system headers.
+ # Unfortunately, there's no include path that we can filter
+ # out of $(pkg-config --cflags nss) and GYP include paths
+ # come after cflags on the command line. So we have these
+ # bodges:
+ '-I../net/third_party/nss/ssl', # for scons
+ '-Inet/third_party/nss/ssl', # for make
'<!@(<(pkg-config) --cflags nss)',
],
},
« no previous file with comments | « no previous file | net/socket/ssl_client_socket_nss.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698