aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party/libsdl
diff options
context:
space:
mode:
authorGravatar jvanverth <jvanverth@google.com>2016-08-04 12:30:31 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-08-04 12:30:31 -0700
commit1ba1d372c2727db56021d0687825320b12d10d4e (patch)
treee50c0efcd743786c323856c54fbe6988e1100179 /third_party/libsdl
parent1b9e2fb49415d8dc41e449bee5f8ebec6f616d71 (diff)
Get Mac viewer working with SDL
Also fixes SkiaSDLExample. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2210603003 Review-Url: https://codereview.chromium.org/2210603003
Diffstat (limited to 'third_party/libsdl')
-rw-r--r--third_party/libsdl/mac/sdl_mac.gypi7
1 files changed, 2 insertions, 5 deletions
diff --git a/third_party/libsdl/mac/sdl_mac.gypi b/third_party/libsdl/mac/sdl_mac.gypi
index 19970cc2ff..4853dfd887 100644
--- a/third_party/libsdl/mac/sdl_mac.gypi
+++ b/third_party/libsdl/mac/sdl_mac.gypi
@@ -5,17 +5,14 @@
# Mac specific files and settings for SDL
{
- #TODO what is really necessary here
+
'link_settings': {
'libraries': [
- '-lm',
- '-liconv',
- '-lobjc',
- '-lpthread',
'$(SDKROOT)/System/Library/Frameworks/CoreVideo.framework',
'$(SDKROOT)/System/Library/Frameworks/Cocoa.framework',
'$(SDKROOT)/System/Library/Frameworks/Carbon.framework',
'$(SDKROOT)/System/Library/Frameworks/IOKit.framework',
+ '/usr/lib/libiconv.dylib',
],
},
'sources': [