Skip to content

Commit

Permalink
use static
Browse files Browse the repository at this point in the history
  • Loading branch information
steebchen committed Jun 18, 2023
1 parent 5205e38 commit 01a60e6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion generator/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@ func generateBinaries(input *Root) error {
for _, name := range targets {
if name == "native" {
name = platform.BinaryPlatformNameStatic()
logger.Debug.Printf("swapping 'native' binary target with '%s'", name)
}

// first, ensure they are actually downloaded
Expand All @@ -200,7 +201,7 @@ func generateQueryEngineFiles(binaryTargets []string, pkg, outputDir string) err
}

if name == "native" {
name = platform.BinaryPlatformNameDynamic()
name = platform.BinaryPlatformNameStatic()
}

enginePath := binaries.GetEnginePath(binaries.GlobalCacheDir(), "query-engine", name)
Expand Down

0 comments on commit 01a60e6

Please sign in to comment.