Skip to content

Commit 8474af0

Browse files
committed
run-make: search libstdc++ in /usr/local/lib too
extend the search path of libraries to /usr/local/lib in `run-make` testsuite. It should permit to find libstdc++.so on usual directory.
1 parent 0a96756 commit 8474af0

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)