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.
This commit is contained in:
Sébastien Marie 2015-09-21 19:17:25 +02:00
parent 0a96756178
commit 8474af0321

View File

@ -85,6 +85,11 @@ ifeq ($(UNAME),Bitrig)
else
ifeq ($(UNAME),OpenBSD)
EXTRACFLAGS := -lm -lpthread
# extend search lib for found estdc++ if build using gcc from
# ports under OpenBSD. This is needed for:
# - run-make/execution-engine
# - run-make/issue-19371
RUSTC := $(RUSTC) -L/usr/local/lib
else
EXTRACFLAGS := -lm -lrt -ldl -lpthread
EXTRACXXFLAGS := -lstdc++