Fix test_command_install_dist in shared Python builds
diff --git a/Lib/packaging/tests/test_command_install_dist.py b/Lib/packaging/tests/test_command_install_dist.py
index ea7c3d3..d27e597 100644
--- a/Lib/packaging/tests/test_command_install_dist.py
+++ b/Lib/packaging/tests/test_command_install_dist.py
@@ -204,6 +204,7 @@
             Extension('xx', ['xxmodule.c'])])
         os.chdir(project_dir)
         support.copy_xxmodule_c(project_dir)
+        support.fixup_build_ext(dist.get_command_obj('build_ext'))
 
         cmd = install_dist(dist)
         dist.command_obj['install_dist'] = cmd