Link with dbus

This commit is contained in:
Cheng Zhao 2014-10-21 12:07:10 +08:00
parent ef417cb8c2
commit 593dce23a5

View file

@ -561,6 +561,10 @@
'-rpath \$$ORIGIN', '-rpath \$$ORIGIN',
# Make native module dynamic loading work. # Make native module dynamic loading work.
'-rdynamic', '-rdynamic',
'<!@(pkg-config --libs-only-L --libs-only-other dbus-1)',
],
'libraries': [
'<!@(pkg-config --libs-only-l dbus-1)',
], ],
}, },
# Required settings of using breakpad. # Required settings of using breakpad.
@ -568,6 +572,7 @@
'vendor/breakpad/src', 'vendor/breakpad/src',
], ],
'cflags': [ 'cflags': [
'<!@(pkg-config --cflags dbus-1)',
'-Wno-deprecated-register', '-Wno-deprecated-register',
'-Wno-empty-body', '-Wno-empty-body',
'-Wno-reserved-user-defined-literal', '-Wno-reserved-user-defined-literal',