Skip to content

Commit 241d710

Browse files
committed
Fixed prebuilt binary compatibility with older glibc
fixes #1580 - in the issue above, a user reported the prebuilt binaries were not compatible with the glibc version that CentOS 7 ships with - it looks like CentOS 7 ships with glibc 2.17 - we already had a fix for this but the transition to a new CI setup regressed including them during compilation - this commit ensures the prebuilt binaries are compatible by applying the linking override file we already had
1 parent 74a2e31 commit 241d710

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

deps/sqlite3.gyp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,11 @@
9292
'SQLITE_ENABLE_MATH_FUNCTIONS'
9393
],
9494
},
95+
'cflags': [
96+
'-include ../src/gcc-preinclude.h'
97+
],
9598
'cflags_cc': [
99+
'-include ../src/gcc-preinclude.h',
96100
'-Wno-unused-value'
97101
],
98102
'defines': [

0 commit comments

Comments
 (0)