mirror of
https://github.com/rust-lang/rust.git
synced 2026-06-03 01:16:14 +03:00
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:
@@ -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++
|
||||
|
||||
Reference in New Issue
Block a user