summaryrefslogtreecommitdiffstats
path: root/third_party
diff options
context:
space:
mode:
authorthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-09-11 17:22:24 +0000
committerthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-09-11 17:22:24 +0000
commit5f84440172940997099b406d935bb83a12a12166 (patch)
tree151eb573affb4562deeb9c0de40a92a56c389571 /third_party
parent85f8ff0ffa0c8c740fc99956902aee4fa12b2a9a (diff)
downloadchromium_src-5f84440172940997099b406d935bb83a12a12166.zip
chromium_src-5f84440172940997099b406d935bb83a12a12166.tar.gz
chromium_src-5f84440172940997099b406d935bb83a12a12166.tar.bz2
Try to fix sqlite_shell target after gyp r1721.
Targets with only .c files now don't link to libstdc++. BUG=none TBR=shess Review URL: https://codereview.chromium.org/23619028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@222584 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'third_party')
-rw-r--r--third_party/sqlite/build_as_cpp.cc3
-rw-r--r--third_party/sqlite/sqlite.gyp2
2 files changed, 5 insertions, 0 deletions
diff --git a/third_party/sqlite/build_as_cpp.cc b/third_party/sqlite/build_as_cpp.cc
new file mode 100644
index 0000000..988c0cc
--- /dev/null
+++ b/third_party/sqlite/build_as_cpp.cc
@@ -0,0 +1,3 @@
+// Copyright 2013 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
diff --git a/third_party/sqlite/sqlite.gyp b/third_party/sqlite/sqlite.gyp
index 885b7f5..30a00fb 100644
--- a/third_party/sqlite/sqlite.gyp
+++ b/third_party/sqlite/sqlite.gyp
@@ -185,6 +185,8 @@
'sources': [
'src/src/shell.c',
'src/src/shell_icu_linux.c',
+ # Include a dummy c++ file to force linking of libstdc++.
+ 'build_as_cpp.cc',
],
},
],