Skip to content

Commit afae2ff

Browse files
committed
Auto merge of #28569 - semarie:stdcpp-tests, r=alexcrichton
extend the search path of libraries to /usr/local/lib in `run-make` testsuite. It should permit to find libstdc++.so on usual directory. r? @alexcrichton
2 parents edeb4f1 + 8474af0 commit afae2ff

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/test/run-make/tools.mk

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,11 @@ ifeq ($(UNAME),Bitrig)
8585
else
8686
ifeq ($(UNAME),OpenBSD)
8787
EXTRACFLAGS := -lm -lpthread
88+
# extend search lib for found estdc++ if build using gcc from
89+
# ports under OpenBSD. This is needed for:
90+
# - run-make/execution-engine
91+
# - run-make/issue-19371
92+
RUSTC := $(RUSTC) -L/usr/local/lib
8893
else
8994
EXTRACFLAGS := -lm -lrt -ldl -lpthread
9095
EXTRACXXFLAGS := -lstdc++

0 commit comments

Comments
 (0)