diff --git a/brightray/brightray.gyp b/brightray/brightray.gyp index 83b325d447d..1a590987ab4 100644 --- a/brightray/brightray.gyp +++ b/brightray/brightray.gyp @@ -93,6 +93,7 @@ 'common/main_delegate_mac.mm', ], 'conditions': [ + # Link with libraries of libchromiumcontent. ['OS=="linux" and libchromiumcontent_component==0', { # On Linux we have to use "--whole-archive" to force executable # to include all symbols, otherwise we will have plenty of @@ -110,30 +111,43 @@ }, }], ['OS=="linux"', { - 'cflags_cc': [ - '-Wno-deprecated-register', - '-fno-rtti', - ], + 'variables': { + 'system_libraries': 'gtk+-2.0 libnotify dbus-1 x11 xrandr xext gconf-2.0', + }, 'link_settings': { 'ldflags': [ - '