tdesktop/Telegram/gyp/linux_glibc_wraps.gyp
Sven-Hendrik Haase c5e6bfce95 Fix wrong uname flag used
This is required because uname -p actually returns "unknown" for some hardware. The uname help documents this by stating that -p is non-portable. The -m flag is the one to use.
2018-03-14 15:01:26 +03:00

28 lines
749 B
Python

# 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
{
'includes': [
'common.gypi',
],
'targets': [{
'target_name': 'linux_glibc_wraps',
'type': 'static_library',
'sources': [
'../SourceFiles/platform/linux/linux_glibc_wraps.c',
],
'conditions': [[ '"<!(uname -m)" == "x86_64" or "<!(uname -m)" == "aarch64"', {
'sources': [
'../SourceFiles/platform/linux/linux_glibc_wraps_64.c',
],
}, {
'sources': [
'../SourceFiles/platform/linux/linux_glibc_wraps_32.c',
],
}]],
}],
}