Skip to content

Commit b6887ea

Browse files
committed
Fixed the target platform check
1 parent b9745e0 commit b6887ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ endif
7474

7575
CARGO_OPTS = --release --target $(TARGET) -Zbuild-std=std,panic_abort
7676

77-
ifneq (,$(filter %windows% %darwin%,$(TARGET)))
77+
ifneq (,$(or $(findstring windows,$(TARGET)),$(findstring darwin,$(TARGET))))
7878
CARGO_FEATURES = --features sdl2_bundle
7979
else
8080
CARGO_FEATURES = --features sdl2

0 commit comments

Comments
 (0)