diff options
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', - ], }, }, ], |