summaryrefslogtreecommitdiffstats
path: root/third_party/ffmpeg
diff options
context:
space:
mode:
authorthomasvl@chromium.org <thomasvl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-16 15:28:31 +0000
committerthomasvl@chromium.org <thomasvl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-16 15:28:31 +0000
commit554b471c4b6173487fa328c2b92200ed87dcdc89 (patch)
treeba3bf9ef4961604d55a8641695df3f037ee64336 /third_party/ffmpeg
parentb1631fc77b88b12259db080f326186d5d442b2f3 (diff)
downloadchromium_src-554b471c4b6173487fa328c2b92200ed87dcdc89.zip
chromium_src-554b471c4b6173487fa328c2b92200ed87dcdc89.tar.gz
chromium_src-554b471c4b6173487fa328c2b92200ed87dcdc89.tar.bz2
Properly only add linker flag for linux/freebsd.
TEST=none BUG=none Review URL: http://codereview.chromium.org/195103 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26343 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'third_party/ffmpeg')
-rwxr-xr-xthird_party/ffmpeg/ffmpeg.gyp18
1 files changed, 10 insertions, 8 deletions
diff --git a/third_party/ffmpeg/ffmpeg.gyp b/third_party/ffmpeg/ffmpeg.gyp
index 76538b7..fb01b84 100755
--- a/third_party/ffmpeg/ffmpeg.gyp
+++ b/third_party/ffmpeg/ffmpeg.gyp
@@ -145,12 +145,6 @@
'../..', # The chromium 'src' directory.
],
},
- 'link_settings': {
- 'libraries': [
- # We need dl for dlopen() and friends.
- '-ldl',
- ],
- },
'actions': [
{
'action_name': 'generate_stubs',
@@ -177,9 +171,17 @@
'process_outputs_as_sources': 1,
},
],
- }
+ },
],
- ],
+ ['OS=="linux" or OS=="freebsd"', {
+ 'link_settings': {
+ 'libraries': [
+ # We need dl for dlopen() and friends.
+ '-ldl',
+ ],
+ },
+ }],
+ ], # conditions
},
{
'target_name': 'ffmpeg_binaries',