Skip to content

Ghidra is a software reverse engineering (SRE) framework

GP-916: PDB:win64PDBMake now works if path contains space

Ryan Kurtz88bf8abe2b2e
diff --git a/Ghidra/Features/PDB/build.gradle b/Ghidra/Features/PDB/build.gradle
index d3271f86bf..b624b0005e 100644
--- a/Ghidra/Features/PDB/build.gradle
+++ b/Ghidra/Features/PDB/build.gradle
@@ -62,7 +62,7 @@ if ("win64".equals(getCurrentPlatformName())) {
def projectPath = projectDir.toString()
def solutionBatchFilePath = projectPath + "/build/buildSolution.bat"
def projectPathWindows = projectPath.replace("/", File.separator)
- def solutionPathWindows = "${projectPathWindows}\\src\\pdb\\pdb.sln"
+ def solutionPathWindows = "\"${projectPathWindows}\\src\\pdb\\pdb.sln\""
doFirst {
file("build/os/win64").mkdirs()