aboutsummaryrefslogtreecommitdiffstats
path: root/dist/mcode/winbuild.ps1
diff options
context:
space:
mode:
Diffstat (limited to 'dist/mcode/winbuild.ps1')
-rw-r--r--dist/mcode/winbuild.ps13
1 files changed, 2 insertions, 1 deletions
diff --git a/dist/mcode/winbuild.ps1 b/dist/mcode/winbuild.ps1
index 6f6a49375..83a3085c5 100644
--- a/dist/mcode/winbuild.ps1
+++ b/dist/mcode/winbuild.ps1
@@ -92,12 +92,13 @@ $GHDLRootDir = Convert-Path (Resolve-Path ($PSScriptRoot + "\" + $RelPathToRo
# set default values
$EnableVerbose = $PSCmdlet.MyInvocation.BoundParameters["Verbose"].IsPresent
$EnableDebug = $PSCmdlet.MyInvocation.BoundParameters["Debug"].IsPresent
+$Hosting = $true
# Write-Host ("--> " + $Verbose + " value: " +$PSCmdlet.MyInvocation.BoundParameters["Verbose"] + " IsPresent: " + $PSCmdlet.MyInvocation.BoundParameters["Verbose"].IsPresent)
# Write-Host ("--> " + $PSCommandPath + " " + $PSBoundParameters + " " + $PSCmdlet + " " + $PSDefaultParameterValues)
# load modules from GHDL's 'libraries' directory
-Import-Module $PSScriptRoot\windows\shared.psm1 -Verbose:$false -ArgumentList "$Script_WorkingDir"
+Import-Module $PSScriptRoot\windows\shared.psm1 -Verbose:$false -ArgumentList "$Script_WorkingDir", $Hosting
Import-Module $PSScriptRoot\windows\targets.psm1 -Verbose:$false
# Display help if no command was selected