Skip to content

Commit

Permalink
Add missing $, to escape MinGW target-specific ld.
Browse files Browse the repository at this point in the history
  • Loading branch information
saurik committed Apr 9, 2024
1 parent 2904166 commit 4e42118
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion env/target-win.mk
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ include $(pwd)/target-gnu.mk
define _
more/$(1) := -target $(1)-pc-windows-gnu
more/$(1) += --sysroot $(CURDIR)/$(output)/$(1)/mingw$(bits/$(1))
temp := $(shell which $(1)-w64-mingw32-ld)
temp := $$(shell which $(1)-w64-mingw32-ld)
ifeq ($$(temp),)
$$(error $(1)-w64-mingw32-ld must be on your path)
endif
Expand Down

0 comments on commit 4e42118

Please sign in to comment.