added a new patch of the openssl build handling

This commit is contained in:
Daichi GOTO 2012-05-02 04:18:31 +00:00
parent ffe6e90046
commit a76795c61a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=295844

View file

@ -0,0 +1,27 @@
--- base/base.gyp.orig 2012-04-26 15:05:41.000000000 +0900
+++ base/base.gyp 2012-05-02 00:42:12.000000000 +0900
@@ -228,20 +228,20 @@
}],
['OS=="linux" and target_platform!="Android"', {
'cflags': [
- '<!@(<(pkg_config_command) --cflags-only-other openssl)',
+ '%%OPENSSL_CFLAGS%%',
],
'defines': [
'HAVE_OPENSSL=1',
],
'include_dirs': [
- '<!@(<(pkg_config_command) --cflags-only-I openssl)',
+ '-I%%OPENSSLINC%%/openssl',
],
'link_settings': {
'ldflags': [
- '<!@(<(pkg_config_command) --libs-only-L openssl)',
+ '%%OPENSSL_LDFLAGS%% -L%%OPENSSLLIB%%',
],
'libraries': [
- '<!@(<(pkg_config_command) --libs-only-l openssl)',
+ '-lssl',
],
},
}],