From 19c41b6bcfc8d2a66f94b1f00b5189a4bcf1b888 Mon Sep 17 00:00:00 2001 From: Alex Suykov Date: Thu, 27 Aug 2015 21:43:26 +0300 Subject: [PATCH] dynaloader poisoned paths patch from buildroot --- cnf/diffs/dynaloader.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 cnf/diffs/dynaloader.patch diff --git a/cnf/diffs/dynaloader.patch b/cnf/diffs/dynaloader.patch new file mode 100644 index 0000000..ebfda10 --- /dev/null +++ b/cnf/diffs/dynaloader.patch @@ -0,0 +1,11 @@ +Buildroot puts nlist.h into sysroot/usr/include, +which is in the default include path. + +--- a/ext/DynaLoader/hints/linux.pl ++++ b/ext/DynaLoader/hints/linux.pl +@@ -1,5 +1 @@ +-# XXX Configure test needed. +-# Some Linux releases like to hide their +-$self->{CCFLAGS} = $Config{ccflags} . ' -I/usr/include/libelf' +- if -f "/usr/include/libelf/nlist.h"; + 1;