summaryrefslogtreecommitdiffstats
path: root/contrib/perl5/ext/DynaLoader/hints/linux.pl
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/perl5/ext/DynaLoader/hints/linux.pl')
-rw-r--r--contrib/perl5/ext/DynaLoader/hints/linux.pl4
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/perl5/ext/DynaLoader/hints/linux.pl b/contrib/perl5/ext/DynaLoader/hints/linux.pl
new file mode 100644
index 0000000..06f4f4c
--- /dev/null
+++ b/contrib/perl5/ext/DynaLoader/hints/linux.pl
@@ -0,0 +1,4 @@
+# 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";
OpenPOWER on IntegriCloud