Skip to content

Commit

Permalink
msys2 fix STD_LIB_PATH in csl.mk
Browse files Browse the repository at this point in the history
  • Loading branch information
stahta01 committed Feb 6, 2023
1 parent 2fbd58a commit 624f2b8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions deps/csl.mk
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ STD_LIB_PATH += :$(shell LANG=C $(FC) -print-search-dirs 2>/dev/null | grep '^li
ifneq (,$(findstring CYGWIN,$(BUILD_OS))) # the cygwin-mingw32 compiler lies about it search directory paths
STD_LIB_PATH := $(shell echo '$(STD_LIB_PATH)' | sed -e "s!/lib/!/bin/!g")
endif
ifeq (1,$(ISMSYS_MINGW64))
STD_LIB_PATH := $(MINGW_PREFIX)/bin
endif

# Given a colon-separated list of paths in $(2), find the location of the library given in $(1)
define pathsearch
Expand Down

0 comments on commit 624f2b8

Please sign in to comment.