summaryrefslogtreecommitdiff
path: root/Makefile.SH
diff options
context:
space:
mode:
authorTony Cook <tony@develop-help.com>2011-03-29 22:15:23 +1100
committerTony Cook <tony@develop-help.com>2011-05-20 21:36:53 +1000
commit04718b4750d41e3e11d98b8fe58a782f1e1595da (patch)
tree4c98bfb94fa6710f4003f61f81dcb59fbf5f028f /Makefile.SH
parentbd130c4aaff6557745f87cf51eb7acb8abf68500 (diff)
downloadperl-04718b4750d41e3e11d98b8fe58a782f1e1595da.tar.gz
if List-Util is built statically, depend on $(PERL_EXE) instead of the shared library
of course, it could be that these dependencies are as redundant as the rest.
Diffstat (limited to 'Makefile.SH')
-rwxr-xr-xMakefile.SH4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile.SH b/Makefile.SH
index 10380a7bd5..83cedb5c71 100755
--- a/Makefile.SH
+++ b/Makefile.SH
@@ -166,9 +166,11 @@ esac
: is Cwd static or dynamic
static_cwd='define'
+list_util_dep='$(PERL_EXE)'
for f in $dynamic_ext; do
case $f in
Cwd) static_cwd='undef' ;;
+ List/Util) list_util_dep=lib/auto/List/Util/Util.$dlext
esac
done
@@ -185,7 +187,7 @@ for f in $dynamic_ext; do
: Parallel makes reveal that we have some interdependencies
case $f in
Math/BigInt/FastCalc|Devel/NYTProf) extra_dep="$extra_dep
-$this_target: lib/auto/List/Util/Util.$dlext" ;;
+$this_target: $list_util_dep" ;;
Unicode/Normalize) extra_dep="$extra_dep
$this_target: uni.data" ;;
esac