aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Alex Suykov <alex.suykov@gmail.com>2015-02-08 20:02:37 +0200
committerGravatar Peter Korsgaard <peter@korsgaard.com>2015-02-08 22:19:45 +0100
commit7d6790b66a0d914a9a4d910e1095cb3094ed3788 (patch)
tree69fdece64beb05ff1a8a9ef3d270758ba8e671eb
parent6076d9a7a6c455b575ec7a2e3ce24f587302398f (diff)
downloadbuildroot-7d6790b66a0d914a9a4d910e1095cb3094ed3788.tar.gz
buildroot-7d6790b66a0d914a9a4d910e1095cb3094ed3788.tar.bz2
perl: remove poisoned path from dynaloader hints
Fixes http://autobuild.buildroot.net/results/323a82776cccf17afaa00ebe3483cfc06a06f264/ http://autobuild.buildroot.net/results/7d4cf7b63fda1a062263b7a4e758c699049105af/ Signed-off-by: Alex Suykov <alex.suykov@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--package/perl/0002-dynaloader-hints.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/package/perl/0002-dynaloader-hints.patch b/package/perl/0002-dynaloader-hints.patch
new file mode 100644
index 0000000000..2653b78cd7
--- /dev/null
+++ b/package/perl/0002-dynaloader-hints.patch
@@ -0,0 +1,13 @@
+Buildroot puts nlist.h into sysroot/usr/include,
+which is in the default include path.
+
+Signed-off-by: Alex Suykov <alex.suykov@gmail.com>
+
+--- 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;