summaryrefslogtreecommitdiffstats
path: root/build/linux/system.gyp
diff options
context:
space:
mode:
Diffstat (limited to 'build/linux/system.gyp')
-rw-r--r--build/linux/system.gyp36
1 files changed, 36 insertions, 0 deletions
diff --git a/build/linux/system.gyp b/build/linux/system.gyp
index 68e4d36..6a359db 100644
--- a/build/linux/system.gyp
+++ b/build/linux/system.gyp
@@ -681,6 +681,42 @@
],
},
{
+ 'target_name': 'xrandr',
+ 'type': 'none',
+ 'toolsets': ['host', 'target'],
+ 'conditions': [
+ ['_toolset=="target"', {
+ 'direct_dependent_settings': {
+ 'cflags': [
+ '<!@(<(pkg-config) --cflags xrandr)',
+ ],
+ },
+ 'link_settings': {
+ 'ldflags': [
+ '<!@(<(pkg-config) --libs-only-L --libs-only-other xrandr)',
+ ],
+ 'libraries': [
+ '<!@(<(pkg-config) --libs-only-l xrandr)',
+ ],
+ },
+ }, {
+ 'direct_dependent_settings': {
+ 'cflags': [
+ '<!@(pkg-config --cflags xrandr)',
+ ],
+ },
+ 'link_settings': {
+ 'ldflags': [
+ '<!@(pkg-config --libs-only-L --libs-only-other xrandr)',
+ ],
+ 'libraries': [
+ '<!@(pkg-config --libs-only-l xrandr)',
+ ],
+ },
+ }],
+ ],
+ },
+ {
'target_name': 'libgcrypt',
'type': 'none',
'conditions': [