Skip to content

Commit

Permalink
attempt to solve 'GLIBC_2.14 not found' problem with older glic - refs
Browse files Browse the repository at this point in the history
  • Loading branch information
Dane Springmeyer committed Jan 13, 2014
1 parent b9680ce commit da0800b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
5 changes: 4 additions & 1 deletion deps/sqlite3.gyp
Expand Up @@ -79,7 +79,10 @@
'SQLITE_ENABLE_RTREE'
],
},
'cflags_cc': ['-Wno-unused-value'],
'cflags_cc': [
'-Wno-unused-value',
'-include ../src/gcc-preinclude.h'
],
'defines': [
'_REENTRANT=1',
'SQLITE_THREADSAFE=1',
Expand Down
4 changes: 4 additions & 0 deletions src/gcc-preinclude.h
@@ -0,0 +1,4 @@

// https://rjpower9000.wordpress.com/2012/04/09/fun-with-shared-libraries-version-glibc_2-14-not-found/

__asm__(".symver memcpy,memcpy@GLIBC_2.2.5");

0 comments on commit da0800b

Please sign in to comment.