summaryrefslogtreecommitdiff
path: root/ext/DynaLoader
diff options
context:
space:
mode:
authorBrian Fraser <fraserbn@gmail.com>2013-10-10 20:59:56 -0300
committerBrian Fraser <fraserbn@gmail.com>2014-01-22 16:33:07 -0300
commit3258f5d919f524d155c3f108731eaa088adfa7c8 (patch)
tree7285855858daaedeafd905fa40f62031bb01c147 /ext/DynaLoader
parentca49a3daefb92da88bfd7f2251be064d2095ff05 (diff)
downloadperl-3258f5d919f524d155c3f108731eaa088adfa7c8.tar.gz
ext/DynaLoader/t/DynaLoader.t: Skip the dl_findfile test when cross-compiling
Diffstat (limited to 'ext/DynaLoader')
-rw-r--r--ext/DynaLoader/DynaLoader_pm.PL2
-rw-r--r--ext/DynaLoader/t/DynaLoader.t2
2 files changed, 3 insertions, 1 deletions
diff --git a/ext/DynaLoader/DynaLoader_pm.PL b/ext/DynaLoader/DynaLoader_pm.PL
index 5c71aaf79a..584f9cbcca 100644
--- a/ext/DynaLoader/DynaLoader_pm.PL
+++ b/ext/DynaLoader/DynaLoader_pm.PL
@@ -85,7 +85,7 @@ package DynaLoader;
# Tim.Bunce@ig.co.uk, August 1994
BEGIN {
- $VERSION = '1.24';
+ $VERSION = '1.24_1';
}
use Config;
diff --git a/ext/DynaLoader/t/DynaLoader.t b/ext/DynaLoader/t/DynaLoader.t
index a95287ae8d..ade1f8e52b 100644
--- a/ext/DynaLoader/t/DynaLoader.t
+++ b/ext/DynaLoader/t/DynaLoader.t
@@ -117,6 +117,8 @@ SKIP: {
# looks pretty much Unix-like.
skip "dl_findfile test not appropriate on $^O", 1
unless -d '/usr' && -f '/bin/ls';
+ skip "dl_findfile test not always appropriate when cross-compiling", 1
+ if $Config{usecrosscompile};
cmp_ok( scalar @files, '>=', 1, "array should contain one result result or more: libc => (@files)" );
}