fix bench and gm targets on Linux
see http://codereview.appspot.com/4530104
git-svn-id: http://skia.googlecode.com/svn/trunk@1490 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/gyp/all.gyp b/gyp/all.gyp
index e2f745a..ec61e59 100644
--- a/gyp/all.gyp
+++ b/gyp/all.gyp
@@ -11,6 +11,7 @@
'target_name': 'all',
'type': 'none',
'dependencies': [
+ 'bench.gyp:bench',
'gm.gyp:gm',
'SampleApp.gyp:SampleApp',
'tests.gyp:tests',
diff --git a/gyp/utils.gyp b/gyp/utils.gyp
index bde4368..c0db053 100644
--- a/gyp/utils.gyp
+++ b/gyp/utils.gyp
@@ -111,6 +111,12 @@
'sources!': [
'../src/utils/SkEGLContext_none.cpp',
],
+ 'link_settings': {
+ 'libraries': [
+ '-lGL',
+ '-lGLU',
+ ],
+ },
}],
[ 'OS != "win"', {
'sources!': [