diff --git a/wmake/wmakeLnIncludeAll b/wmake/wmakeLnIncludeAll index 626f4175d04bf6afd61267b2e313e04e2d622509..023c1dcc7fe7367e467ed14550afb72fc4941bfd 100755 --- a/wmake/wmakeLnIncludeAll +++ b/wmake/wmakeLnIncludeAll @@ -139,6 +139,16 @@ do done done +if [ "$nCores" -gt 0 ] +then + # Wait for all of the wmakeLnInclude jobs to finish + wait + + # Synchronize the file system to ensure that all of the links exist + # before compilation + sync +fi + #------------------------------------------------------------------------------ # Cleanup local variables and functions