Skip to content

Commit 71178bb

Browse files
fixup! [lldb][windows] print an error if python.dll is not in the DLL search path
1 parent c73bf5f commit 71178bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lldb/tools/driver/Driver.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -504,7 +504,7 @@ void SetupPythonRuntimeLibrary() {
504504
llvm::errs() << "error: unable to find "
505505
<< LLDB_PYTHON_RUNTIME_LIBRARY_FILENAME << ".\n";
506506
return;
507-
#elifdef LLDB_PYTHON_DLL_RELATIVE_PATH
507+
#elif defined(LLDB_PYTHON_DLL_RELATIVE_PATH)
508508
if (!AddPythonDLLToSearchPath())
509509
llvm::errs() << "error: unable to find the Python runtime library.\n";
510510
#endif

0 commit comments

Comments
 (0)