From 564a33a6e85e74e1cb883da75e776de1d8039a69 Mon Sep 17 00:00:00 2001 From: Pavel Labath Date: Fri, 29 Jun 2018 09:22:07 +0000 Subject: [PATCH] Fix TestLoadUsingPaths on linux we need to explicitly link the test program with -ldl for the dlopen function to be available. llvm-svn: 335956 --- .../Python/lldbsuite/test/functionalities/load_using_paths/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/lldb/packages/Python/lldbsuite/test/functionalities/load_using_paths/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/load_using_paths/Makefile index 5ec8f23..c4c3cfe 100644 --- a/lldb/packages/Python/lldbsuite/test/functionalities/load_using_paths/Makefile +++ b/lldb/packages/Python/lldbsuite/test/functionalities/load_using_paths/Makefile @@ -1,6 +1,7 @@ LEVEL := ../../make CXX_SOURCES := main.cpp +LD_EXTRAS := -ldl include $(LEVEL)/Makefile.rules -- 2.7.4