diff options
| author | Sébastien Marie <semarie@users.noreply.github.com> | 2015-09-21 19:17:25 +0200 |
|---|---|---|
| committer | Sébastien Marie <semarie@users.noreply.github.com> | 2015-09-22 18:56:30 +0200 |
| commit | 8474af03218101e1b6adae323dcd840ffc267158 (patch) | |
| tree | 2d89c13c2d1cf628a01410a377ef7af98e77c381 | |
| parent | 0a967561783f093c2b63057283784892e855a408 (diff) | |
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.
| -rw-r--r-- | src/test/run-make/tools.mk | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/test/run-make/tools.mk b/src/test/run-make/tools.mk index 14d8e468f50..23af568697f 100644 --- a/src/test/run-make/tools.mk +++ b/src/test/run-make/tools.mk @@ -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++ |
