sharedinstall should depend on sharedmods #9280
diff --git a/Makefile.pre.in b/Makefile.pre.in
index 1fb764f..ffa2510 100644
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -1045,7 +1045,7 @@
 
 # Install the dynamically loadable modules
 # This goes into $(exec_prefix)
-sharedinstall:
+sharedinstall: sharedmods
 	$(RUNSHARED) ./$(BUILDPYTHON) -E $(srcdir)/setup.py install \
 	   	--prefix=$(prefix) \
 		--install-scripts=$(BINDIR) \
diff --git a/Misc/NEWS b/Misc/NEWS
index c6dbfef..04309a7 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -1554,6 +1554,8 @@
 Build
 -----
 
+- Issue #9280: Make sharedinstall depend on sharedmods.
+
 - Issue #9189: Make a user-specified CFLAGS, CPPFLAGS, or LDFLAGS
   setting override the configure and makefile defaults, without
   deleting options the user didn't intend to override.  Developers