linux: Link necessary libraries

This fixes linking problem on some systems, see #500.
This commit is contained in:
Cheng Zhao 2014-11-15 10:15:25 +08:00
parent 869e086a41
commit 7943f7f7eb
2 changed files with 3 additions and 3 deletions

View file

@ -587,10 +587,10 @@
'-rpath \$$ORIGIN',
# Make native module dynamic loading work.
'-rdynamic',
'<!@(pkg-config --libs-only-L --libs-only-other dbus-1)',
'<!@(pkg-config --libs-only-L --libs-only-other dbus-1 x11 xrandr xext gconf-2.0)',
],
'libraries': [
'<!@(pkg-config --libs-only-l dbus-1)',
'<!@(pkg-config --libs-only-l dbus-1 x11 xrandr xext gconf-2.0)',
],
},
# Required settings of using breakpad.

View file

@ -9,7 +9,7 @@
On Ubuntu you could install the libraries via:
```bash
$ sudo apt-get install build-essential clang libdbus-1-dev libgtk2.0-dev libnotify-dev gcc-multilib g++-multilib
$ sudo apt-get install build-essential clang libdbus-1-dev libgtk2.0-dev libnotify-dev libgnome-keyring-dev libgconf2-dev gcc-multilib g++-multilib
```
Latest Node.js could be installed via ppa: