tdesktop/Telegram/gyp/modules/openssl.gypi

56 lines
1.3 KiB
Plaintext
Raw Normal View History

# This file is part of Telegram Desktop,
# the official desktop application for the Telegram messaging service.
#
# For license and copyright information please follow this link:
# https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
{
'conditions': [
[ 'build_win', {
2019-07-15 12:17:22 +00:00
'libraries': [
'-llibeay32',
'-lssleay32',
'-lCrypt32',
2019-07-15 12:17:22 +00:00
],
'configurations': {
'Debug': {
'include_dirs': [
2019-06-24 11:43:42 +00:00
'<(libs_loc)/openssl/inc32',
],
'library_dirs': [
2019-06-24 11:43:42 +00:00
'<(libs_loc)/openssl/out32.dbg',
],
},
'Release': {
'include_dirs': [
2019-06-24 11:43:42 +00:00
'<(libs_loc)/openssl/inc32',
],
'library_dirs': [
2019-06-24 11:43:42 +00:00
'<(libs_loc)/openssl/out32',
],
},
},
2019-07-15 12:17:22 +00:00
}], [ 'build_macold', {
'xcode_settings': {
'OTHER_LDFLAGS': [
'<(libs_loc)/macold/openssl/libssl.a',
'<(libs_loc)/macold/openssl/libcrypto.a',
],
},
'include_dirs': [
'<(libs_loc)/macold/openssl/include',
],
}], [ 'build_mac', {
'xcode_settings': {
'OTHER_LDFLAGS': [
'<(libs_loc)/openssl/libssl.a',
'<(libs_loc)/openssl/libcrypto.a',
],
},
'include_dirs': [
'<(libs_loc)/openssl/include',
],
}],
],
}