Browse files

attempt to solve 'GLIBC_2.14 not found' problem with older glic - refs

  • Loading branch information...
1 parent b9680ce commit da0800bf8be009e7b356022312761aa3117208de @springmeyer springmeyer committed Jan 13, 2014
Showing with 8 additions and 1 deletion.
  1. +4 −1 deps/sqlite3.gyp
  2. +4 −0 src/gcc-preinclude.h
View
5 deps/sqlite3.gyp
@@ -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',
View
4 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.