summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorJonathan Roy <roy@idle.com>1998-12-13 17:22:49 -0500
committerJarkko Hietaniemi <jhi@iki.fi>1998-12-14 16:00:22 +0000
commitea5147f16d875cf5777649e3b3031848e832d03d (patch)
tree1bd0dbfabcc16945eac053048b1c3e04e7e66bc9 /ext
parentcc628cc3888218d0946be2424363b397261343b9 (diff)
downloadperl-ea5147f16d875cf5777649e3b3031848e832d03d.tar.gz
nlist.h not yet Configure-probed but DynaLoader Linux-hinted.
To: perl5-porters@perl.org Subject: nlist.h add to Configure checks? Message-Id: <4.1.19981213221847.00a3e100@pop-server.tampabay.rr.com> p4raw-id: //depot/cfgperl@2481
Diffstat (limited to 'ext')
-rw-r--r--ext/DynaLoader/hints/linux.pl4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/DynaLoader/hints/linux.pl b/ext/DynaLoader/hints/linux.pl
new file mode 100644
index 0000000000..06f4f4c1f8
--- /dev/null
+++ b/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";