| Index: third_party/sqlite/sqlite.gyp
|
| diff --git a/third_party/sqlite/sqlite.gyp b/third_party/sqlite/sqlite.gyp
|
| index 5fc4dc18ed49527b458d3770e064dc128f379675..354d88eacababfe6e3dec6ec945b77d28be444c6 100644
|
| --- a/third_party/sqlite/sqlite.gyp
|
| +++ b/third_party/sqlite/sqlite.gyp
|
| @@ -112,7 +112,7 @@
|
| ],
|
| }, { # !use_system_sqlite
|
| 'product_name': 'sqlite3',
|
| - 'type': 'static_library',
|
| + 'type': '<(component)',
|
| 'sources': [
|
| 'amalgamation/sqlite3.h',
|
| 'amalgamation/sqlite3.c',
|
| @@ -144,6 +144,12 @@
|
| 4244, 4267,
|
| ],
|
| 'conditions': [
|
| + ['OS == "win" and component == "shared_library"', {
|
| + 'defines': ['SQLITE_API=__declspec(dllexport)'],
|
| + }],
|
| + ['OS != "win" and component == "shared_library"', {
|
| + 'defines': ['SQLITE_API=__attribute__((visibility("default")))'],
|
| + }],
|
| ['OS=="linux"', {
|
| 'link_settings': {
|
| 'libraries': [
|
| @@ -155,6 +161,7 @@
|
| 'link_settings': {
|
| 'libraries': [
|
| '$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework',
|
| + '$(SDKROOT)/System/Library/Frameworks/CoreServices.framework',
|
| ],
|
| },
|
| }],
|
|
|