Skip to content

Commit

Permalink
Merge pull request #2070 from Wasted-Audio/bugfix/heavy-pdext-windows…
Browse files Browse the repository at this point in the history
…-pdPLL-path-escape

add quotes around the pdDLL path since it can reside in Program Files…
  • Loading branch information
timothyschoen authored Feb 16, 2025
2 parents cf23b56 + 7a71e3e commit 1f2e81a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Heavy/PdExporter.h
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ class PdExporter final : public ExporterBase {
auto path = "export PATH=\"$PATH:" + Toolchain::dir.getChildFile("bin").getFullPathName().replaceCharacter('\\', '/') + "\"\n";
auto cc = "CC=" + Toolchain::dir.getChildFile("bin").getChildFile("gcc.exe").getFullPathName().replaceCharacter('\\', '/') + " ";
auto cxx = "CXX=" + Toolchain::dir.getChildFile("bin").getChildFile("g++.exe").getFullPathName().replaceCharacter('\\', '/') + " ";
auto pdbindir = "PDBINDIR=" + pdDll.getFullPathName().replaceCharacter('\\', '/') + " ";
auto pdbindir = "PDBINDIR=\"" + pdDll.getFullPathName().replaceCharacter('\\', '/') + "\" ";

Toolchain::startShellScript(path + cc + cxx + pdbindir + make.getFullPathName().replaceCharacter('\\', '/') + " -j4", this);

Expand Down

0 comments on commit 1f2e81a

Please sign in to comment.