From 624f2b87ed9ef01229e9089466e7edfe6cae90f6 Mon Sep 17 00:00:00 2001 From: Tim Stahlhut Date: Fri, 3 Feb 2023 12:51:57 -0500 Subject: [PATCH] msys2 fix STD_LIB_PATH in csl.mk --- deps/csl.mk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/deps/csl.mk b/deps/csl.mk index e3f84aa98974de..5ba688ae6d1bab 100644 --- a/deps/csl.mk +++ b/deps/csl.mk @@ -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