Skip to content

Commit

Permalink
dynaloader poisoned paths patch from buildroot
Browse files Browse the repository at this point in the history
  • Loading branch information
arsv committed Aug 27, 2015
1 parent 18d7f34 commit 19c41b6
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions 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 <nlist.h>
-$self->{CCFLAGS} = $Config{ccflags} . ' -I/usr/include/libelf'
- if -f "/usr/include/libelf/nlist.h";
1;

0 comments on commit 19c41b6

Please sign in to comment.