tdesktop/Telegram/gyp/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', {
'libraries': [
'-llibeay32',
'-lssleay32',
'-lCrypt32',
],
'configurations': {
'Debug': {
'include_dirs': [
'<(libs_loc)/openssl/Debug/include',
],
'library_dirs': [
'<(libs_loc)/openssl/Debug/lib',
],
},
'Release': {
'include_dirs': [
'<(libs_loc)/openssl/Release/include',
],
'library_dirs': [
'<(libs_loc)/openssl/Release/lib',
],
},
},
}], [ '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',
],
}],
],
}