linux: Link Xi with pkg-config

Fix atom/electron#3357.
This commit is contained in:
Cheng Zhao 2015-11-07 12:11:12 +08:00
parent 54997db5f2
commit b8cd4f7981

View file

@ -1,7 +1,7 @@
{ {
'variables': { 'variables': {
# The libraries brightray will be compiled to. # The libraries brightray will be compiled to.
'linux_system_libraries': 'gtk+-2.0 libnotify dbus-1 x11 xrandr xext gconf-2.0 gmodule-2.0 nss' 'linux_system_libraries': 'gtk+-2.0 libnotify dbus-1 x11 xi xrandr xext gconf-2.0 gmodule-2.0 nss'
}, },
'includes': [ 'includes': [
'filenames.gypi', 'filenames.gypi',
@ -101,7 +101,7 @@
'-lresolv', '-lresolv',
'-lfontconfig', '-lfontconfig',
'-lfreetype', '-lfreetype',
'-lX11 -lXi -lXcursor -lXext -lXfixes -lXrender -lXcomposite -lXdamage -lXtst -lXrandr', '-lX11 -lXcursor -lXext -lXfixes -lXrender -lXcomposite -lXdamage -lXtst -lXrandr',
'-lexpat', '-lexpat',
], ],
}, },