Skip to content

Commit 41c69f3

Browse files
authored
deps: Use python2 explicitly, to avoid FTBFS on modern systems
Modern Linux distributions do not alias `python` to python2. Ptyhon's PEP394 goes into further detail, but _currently_ you should point to the Python version you expect to find as `python`. This fixes various FTBFS on modern Linux/macOS systems with no `python` alias. See: https://www.python.org/dev/peps/pep-0394/ See: TryGhost/node-sqlite3#1328 See: TryGhost/node-sqlite3#584 See: TryGhost/node-sqlite3#1443
1 parent 7b0324c commit 41c69f3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

deps/sqlite3.gyp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@
101101
'outputs': [
102102
'<(SHARED_INTERMEDIATE_DIR)/sqlcipher-amalgamation-<@(sqlite_version)/sqlite3.c'
103103
],
104-
'action': ['python','./extract.py','./sqlcipher-amalgamation-<@(sqlite_version).tar.gz','<(SHARED_INTERMEDIATE_DIR)']
104+
'action': ['python2','./extract.py','./sqlcipher-amalgamation-<@(sqlite_version).tar.gz','<(SHARED_INTERMEDIATE_DIR)']
105105
}
106106
],
107107
'direct_dependent_settings': {

0 commit comments

Comments
 (0)