1
Fork 0

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
This commit is contained in:
bors 2015-09-23 18:55:01 +00:00
commit afae2ff723

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++