Skip to content
This repository was archived by the owner on Jun 1, 2023. It is now read-only.

Commit 66c218b

Browse files
committed
Storable stacksize --core needs Cwd.so
fixup Makefile.SH dep.
1 parent 18f2621 commit 66c218b

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

Makefile.SH

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -176,10 +176,11 @@ esac
176176

177177
: is Cwd static or dynamic
178178
static_cwd='define'
179+
cwd_dep='$(PERL_EXE)'
179180
list_util_dep='$(PERL_EXE)'
180181
for f in $dynamic_ext; do
181182
case $f in
182-
Cwd) static_cwd='undef' ;;
183+
Cwd) static_cwd='undef'; cwd_dep=lib/auto/Cwd/Cwd.$dlext ;;
183184
List/Util) list_util_dep=lib/auto/List/Util/Util.$dlext
184185
esac
185186
done
@@ -1194,9 +1195,15 @@ uni.data: $(MINIPERL_EXE) $(CONFIGPM) lib/unicore/mktables $(nonxs_ext)
11941195
# can in this makefile to decide if needs to run or not
11951196
# touch uni.data
11961197
1197-
rebuild_storable: $(PERL_EXE)
1198-
$(RUN_PERL) dist/Storable/stacksize --core
1199-
$(MAKE) -C dist/Storable PERL_CORE=1
1198+
!NO!SUBS!
1199+
$spitshell >>$Makefile <<!GROK!THIS!
1200+
1201+
rebuild_storable: \$(PERL_EXE) $cwd_dep
1202+
\$(RUN_PERL) dist/Storable/stacksize --core
1203+
\$(MAKE) -C dist/Storable PERL_CORE=1
1204+
1205+
!GROK!THIS!
1206+
$spitshell >>$Makefile <<'!NO!SUBS!'
12001207
12011208
# $(PERL_EXE) and ext because pod_lib.pl needs Digest::MD5
12021209
# But also this ensures that all extensions are built before we try to scan

0 commit comments

Comments
 (0)