summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--os2/Makefile.SHs4
1 files changed, 2 insertions, 2 deletions
diff --git a/os2/Makefile.SHs b/os2/Makefile.SHs
index 87f0b37093..2a098c95bc 100644
--- a/os2/Makefile.SHs
+++ b/os2/Makefile.SHs
@@ -207,7 +207,7 @@ installcmd :
aout_obj = $(addsuffix $(AOUT_OBJ_EXT),$(basename $(obj)))
AOUT_DYNALOADER = $(addsuffix $(AOUT_LIB_EXT),$(basename $(DYNALOADER)))
-aout_ext = $(dynamic_ext) $(AOUT_EXTRA_LIBS)
+aout_ext = $(static_ext) $(dynamic_ext) $(AOUT_EXTRA_LIBS)
aout_static_ext = $(addsuffix $(AOUT_LIB_EXT),$(basename $(aout_ext)))
aout_static_lib = $(addsuffix $(LIB_EXT),$(basename $(aout_ext)))
@@ -237,7 +237,7 @@ perlmain(AOUT_OBJ_EXT): perlmain.c
$(AOUT_CCCMD_DLL) $(PLDLFLAGS) -c perlmain.c
# Assume that extensions are at most 4 deep (this is so with 5.8.1)
-aout_extlist: $(aout_static_ext)
+aout_extlist: $(aout_static_ext) $(AOUT_DYNALOADER)
echo lib/auto/*.a lib/auto/*/*.a lib/auto/*/*/*.a lib/auto/*/*/*/*.a | tr ' ' '\n' | grep -v '\*' > $@.tmp
sh mv-if-diff $@.tmp $@