Skip to contentSkip to conversation

perl: remove poisoned path from dynaloader hints

PATCH New Alex Suykov 2 participants 2 messages Feb 8, 2015

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 perl: remove poisoned path from dynaloader hints

Fixes
http://autobuild.buildroot.net/results/323a82776cccf17afaa00ebe3483cfc06a06f264/
http://autobuild.buildroot.net/results/7d4cf7b63fda1a062263b7a4e758c699049105af/

---
 package/perl/0002-dynaloader-hints.patch | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 package/perl/0002-dynaloader-hints.patch
package/perl/0002-dynaloader-hints.patch new file +13 -0
new file mode 100644
index 0000000..2653b78
@@ -0,0 +1,13 @@
+Buildroot puts nlist.h into sysroot/usr/include,
+which is in the default include path.
+
+Signed-off-by: Alex Suykov <[email protected]>
+
+--- 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;
Signature · 1 line
2.0.3