Skip to content

Commit

Permalink
Merge pull request adoptium#486 from sophia-guo/cygwin
Browse files Browse the repository at this point in the history
Correct CYGWIN LIB_DIR
  • Loading branch information
smlambert authored Jan 8, 2024
2 parents 7475e03 + 95dca83 commit e2e6137
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion makefile
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,10 @@ endif
ifndef LIB_DIR
LIB_DIR:=$(TEST_ROOT)$(D)TKG$(D)lib
endif
ifeq ($(CYGWIN),1)

UNAME := uname
UNAME_OS := $(shell $(UNAME) -s | $(CUT) -f1 -d_)
ifeq ($(findstring CYGWIN,$(UNAME_OS)), CYGWIN)
LIB_DIR:=$(shell cygpath -w $(LIB_DIR))
endif
export LIB_DIR:=$(subst \,/,$(LIB_DIR))
Expand Down

0 comments on commit e2e6137

Please sign in to comment.