We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
limactl.exe
GOOS
1 parent 9db7680 commit 337f01aCopy full SHA for 337f01a
Makefile
@@ -203,6 +203,12 @@ endif
203
ENVS__output/bin/limactl$(exe) = CGO_ENABLED=1 GOOS=$(GOOS) GOARCH=$(GOARCH) CC=$(CC)
204
205
_output/bin/limactl$(exe): $(LIMACTL_DEPS) $$(call force_build,$$@)
206
+# If the previous cross-compilation was for GOOS=windows, limactl.exe might still be present.
207
+ifneq ($(GOOS),windows) #
208
+ @rm -rf _output/bin/limactl.exe
209
+else
210
+ @rm -rf _output/bin/limactl
211
+endif
212
# The hostagent must be compiled with CGO_ENABLED=1 so that net.LookupIP() in the DNS server
213
# calls the native resolver library and not the simplistic version in the Go library.
214
$(ENVS_$@) $(GO_BUILD) -o $@ ./cmd/limactl
0 commit comments