1faa164f2f
my previous patch about static build (0001-fix-EUMM.patch) was not the good fix. see discussion: http://github.com/arsv/perl-cross/issues/18 Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
16 lines
501 B
Diff
16 lines
501 B
Diff
Buildroot puts nlist.h into sysroot/usr/include,
|
|
which is in the default include path.
|
|
|
|
Signed-off-by: Alex Suykov <alex.suykov@gmail.com>
|
|
|
|
Fetch from: http://github.com/arsv/perl-cross/blob/master/cnf/diffs/dynaloader.patch
|
|
|
|
--- 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;
|