]> khamidou — GitHub mirrors - electron.git/commitdiff
linux: Link necessary libraries
authorCheng Zhao <zcbenz@gmail.com>
Sat, 15 Nov 2014 02:15:25 +0000 (10:15 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Sat, 15 Nov 2014 02:16:48 +0000 (10:16 +0800)
This fixes linking problem on some systems, see #500.

atom.gyp
docs/development/build-instructions-linux.md

index bccb001cb53a8e429ba37132150d3474d6b3e926..9805db874f80e1c46cd5347a53f13783252371a5 100644 (file)
--- a/atom.gyp
+++ b/atom.gyp
               '-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.
index 7ce62b2526e8f2d85c5e998ffbd12abb906cad02..901446957e84598f76539257fffcb91405968b88 100644 (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: