mirror of
https://github.com/pret/pokediamond.git
synced 2026-03-21 17:54:29 -05:00
actually fix wsl2
This commit is contained in:
parent
bac9a29097
commit
7c672a8340
3
Makefile
3
Makefile
|
|
@ -59,9 +59,6 @@ endif
|
|||
|
||||
ifeq ($(NOWINE),1)
|
||||
WINE :=
|
||||
WINPATH := wslpath
|
||||
else
|
||||
WINPATH := winepath
|
||||
endif
|
||||
|
||||
################ Target Executable and Sources ###############
|
||||
|
|
|
|||
|
|
@ -25,7 +25,15 @@ WSLENV ?= no
|
|||
ifeq ($(WSLENV),no)
|
||||
NOWINE = 0
|
||||
else
|
||||
# As of build 17063, WSLENV is defined in both WSL1 and WSL2
|
||||
# so we need to use the kernel release to detect between
|
||||
# the two.
|
||||
UNAME_R := $(shell uname -r)
|
||||
ifeq ($(findstring WSL2,$(UNAME_R)),)
|
||||
NOWINE = 1
|
||||
else
|
||||
NOWINE = 0
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(OS),Windows_NT)
|
||||
|
|
|
|||
|
|
@ -27,7 +27,15 @@ WSLENV ?= no
|
|||
ifeq ($(WSLENV),no)
|
||||
NOWINE = 0
|
||||
else
|
||||
# As of build 17063, WSLENV is defined in both WSL1 and WSL2
|
||||
# so we need to use the kernel release to detect between
|
||||
# the two.
|
||||
UNAME_R := $(shell uname -r)
|
||||
ifeq ($(findstring WSL2,$(UNAME_R)),)
|
||||
NOWINE = 1
|
||||
else
|
||||
NOWINE = 0
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(OS),Windows_NT)
|
||||
|
|
|
|||
|
|
@ -10,7 +10,15 @@ WSLENV ?= no
|
|||
ifeq ($(WSLENV),no)
|
||||
NOWINE = 0
|
||||
else
|
||||
# As of build 17063, WSLENV is defined in both WSL1 and WSL2
|
||||
# so we need to use the kernel release to detect between
|
||||
# the two.
|
||||
UNAME_R := $(shell uname -r)
|
||||
ifeq ($(findstring WSL2,$(UNAME_R)),)
|
||||
NOWINE = 1
|
||||
else
|
||||
NOWINE = 0
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(OS),Windows_NT)
|
||||
|
|
|
|||
|
|
@ -10,7 +10,15 @@ WSLENV ?= no
|
|||
ifeq ($(WSLENV),no)
|
||||
NOWINE = 0
|
||||
else
|
||||
# As of build 17063, WSLENV is defined in both WSL1 and WSL2
|
||||
# so we need to use the kernel release to detect between
|
||||
# the two.
|
||||
UNAME_R := $(shell uname -r)
|
||||
ifeq ($(findstring WSL2,$(UNAME_R)),)
|
||||
NOWINE = 1
|
||||
else
|
||||
NOWINE = 0
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(OS),Windows_NT)
|
||||
|
|
|
|||
|
|
@ -10,7 +10,15 @@ WSLENV ?= no
|
|||
ifeq ($(WSLENV),no)
|
||||
NOWINE = 0
|
||||
else
|
||||
# As of build 17063, WSLENV is defined in both WSL1 and WSL2
|
||||
# so we need to use the kernel release to detect between
|
||||
# the two.
|
||||
UNAME_R := $(shell uname -r)
|
||||
ifeq ($(findstring WSL2,$(UNAME_R)),)
|
||||
NOWINE = 1
|
||||
else
|
||||
NOWINE = 0
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(OS),Windows_NT)
|
||||
|
|
|
|||
|
|
@ -10,7 +10,15 @@ WSLENV ?= no
|
|||
ifeq ($(WSLENV),no)
|
||||
NOWINE = 0
|
||||
else
|
||||
# As of build 17063, WSLENV is defined in both WSL1 and WSL2
|
||||
# so we need to use the kernel release to detect between
|
||||
# the two.
|
||||
UNAME_R := $(shell uname -r)
|
||||
ifeq ($(findstring WSL2,$(UNAME_R)),)
|
||||
NOWINE = 1
|
||||
else
|
||||
NOWINE = 0
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(OS),Windows_NT)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user