summaryrefslogtreecommitdiffstats
path: root/package/perl/0002-dynaloader-hints.patch
blob: 2653b78cd714e0f4f2ae1bc9765a3159fbd23561 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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;
OpenPOWER on IntegriCloud