diff options
author | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-15 22:51:32 +0000 |
---|---|---|
committer | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-15 22:51:32 +0000 |
commit | f81380b51ef02003bc45374a8fc3cb8b70b5a3cd (patch) | |
tree | 7c58e303b96f55e5966f4b23a24acd5330ba6000 /third_party/sqlite | |
parent | 413df1b5ebacf0f3bc2ad03020e9f93b92717803 (diff) | |
download | chromium_src-f81380b51ef02003bc45374a8fc3cb8b70b5a3cd.zip chromium_src-f81380b51ef02003bc45374a8fc3cb8b70b5a3cd.tar.gz chromium_src-f81380b51ef02003bc45374a8fc3cb8b70b5a3cd.tar.bz2 |
Fix the Linux shared build.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/203076
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26291 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'third_party/sqlite')
-rw-r--r-- | third_party/sqlite/sqlite.gyp | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/third_party/sqlite/sqlite.gyp b/third_party/sqlite/sqlite.gyp index 9297345..cd1af20 100644 --- a/third_party/sqlite/sqlite.gyp +++ b/third_party/sqlite/sqlite.gyp @@ -24,6 +24,13 @@ { 'target_name': 'sqlite', 'conditions': [ + ['OS=="linux" and not use_system_sqlite', { + 'link_settings': { + 'libraries': [ + '-ldl', + ], + }, + }], ['OS=="linux" and use_system_sqlite', { 'type': 'settings', 'direct_dependent_settings': { @@ -224,9 +231,6 @@ ], 'link_settings': { 'link_languages': ['c++'], - 'libraries': [ - '-ldl', - ], }, }, ], |