]> khamidou — GitHub mirrors - electron.git/commitdiff
Link with dbus
authorCheng Zhao <zcbenz@gmail.com>
Tue, 21 Oct 2014 04:07:10 +0000 (12:07 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Tue, 21 Oct 2014 04:07:10 +0000 (12:07 +0800)
atom.gyp

index 19e241c3ca9a1845b0aa278906a1e2345413e0df..63f7e711cfe98a82a0c57518fa3547babde37dd3 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)',
+            ],
+            'libraries': [
+              '<!@(pkg-config --libs-only-l dbus-1)',
             ],
           },
           # Required settings of using breakpad.
             'vendor/breakpad/src',
           ],
           'cflags': [
+            '<!@(pkg-config --cflags dbus-1)',
             '-Wno-deprecated-register',
             '-Wno-empty-body',
             '-Wno-reserved-user-defined-literal',