Fix NoGPU build

Some link settings were set in the wrong targets

git-svn-id: http://skia.googlecode.com/svn/trunk@6246 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/gyp/views.gyp b/gyp/views.gyp
index 5f58a87..b0697a0 100644
--- a/gyp/views.gyp
+++ b/gyp/views.gyp
@@ -98,6 +98,13 @@
           ],
         }],
         [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris"]', {
+          'link_settings': {
+            'libraries': [
+              '-lGL',
+              '-lGLU',
+              '-lX11',
+            ],
+          },
         },{
           'sources!': [
             '../src/views/unix/SkOSWindow_Unix.cpp',