[Lldb-commits] [lldb] r335956 - Fix TestLoadUsingPaths on linux

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Fri Jun 29 02:22:07 PDT 2018


Author: labath
Date: Fri Jun 29 02:22:07 2018
New Revision: 335956

URL: http://llvm.org/viewvc/llvm-project?rev=335956&view=rev
Log:
Fix TestLoadUsingPaths on linux

we need to explicitly link the test program with -ldl for the dlopen
function to be available.

Modified:
    lldb/trunk/packages/Python/lldbsuite/test/functionalities/load_using_paths/Makefile

Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/load_using_paths/Makefile
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/load_using_paths/Makefile?rev=335956&r1=335955&r2=335956&view=diff
==============================================================================
--- lldb/trunk/packages/Python/lldbsuite/test/functionalities/load_using_paths/Makefile (original)
+++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/load_using_paths/Makefile Fri Jun 29 02:22:07 2018
@@ -1,6 +1,7 @@
 LEVEL := ../../make
 
 CXX_SOURCES := main.cpp
+LD_EXTRAS := -ldl
 
 include $(LEVEL)/Makefile.rules
 




More information about the lldb-commits mailing list