about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSébastien Marie <semarie@users.noreply.github.com>2015-09-21 19:17:25 +0200
committerSébastien Marie <semarie@users.noreply.github.com>2015-09-22 18:56:30 +0200
commit8474af03218101e1b6adae323dcd840ffc267158 (patch)
tree2d89c13c2d1cf628a01410a377ef7af98e77c381
parent0a967561783f093c2b63057283784892e855a408 (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.mk5
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++