diff --git a/wmake/wmakeLnIncludeAll b/wmake/wmakeLnIncludeAll index 626f4175d0..023c1dcc7f 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