diff options
Diffstat (limited to 'build/linux/system.gyp')
-rw-r--r-- | build/linux/system.gyp | 21 |
1 files changed, 2 insertions, 19 deletions
diff --git a/build/linux/system.gyp b/build/linux/system.gyp index 346fe22..d61ac62c 100644 --- a/build/linux/system.gyp +++ b/build/linux/system.gyp @@ -264,30 +264,13 @@ }, 'link_settings': { 'ldflags': [ - '<!@(<(pkg-config) --libs-only-L --libs-only-other x11)', + '<!@(<(pkg-config) --libs-only-L --libs-only-other x11 xi)', ], 'libraries': [ - '<!@(<(pkg-config) --libs-only-l x11)', + '<!@(<(pkg-config) --libs-only-l x11 xi)', ], }, }], - # When XInput2 is available (i.e. inputproto version is 2.0), the - # pkg-config command will succeed, so the output will be empty. - ['"<!@(<(pkg-config) --atleast-version=2.0 inputproto || echo $?)"==""', { - 'direct_dependent_settings': { - 'defines': [ - 'HAVE_XINPUT2', - ], - }, - 'link_settings': { - 'ldflags': [ - '<!@(<(pkg-config) --libs-only-L --libs-only-other xi)', - ], - 'libraries': [ - '<!@(<(pkg-config) --libs-only-l xi)', - ], - } - }], ], }, { |