mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Projucer: Avoid abspath in generated makefiles
abspath doesn't cope very well with paths that contain spaces, even if those spaces are escaped.
This commit is contained in:
parent
f248a09c59
commit
6f458086f9
1 changed files with 2 additions and 2 deletions
|
|
@ -218,7 +218,7 @@ public:
|
|||
}
|
||||
else if (type == LV2PlugIn)
|
||||
{
|
||||
s.add ("JUCE_LV2DIR := " + targetName + ".lv2");
|
||||
s.add ("JUCE_LV2DIR := " + escapeQuotesAndSpaces (targetName) + ".lv2");
|
||||
targetName = "$(JUCE_LV2DIR)/" + targetName + ".so";
|
||||
}
|
||||
else if (type == LV2TurtleProgram)
|
||||
|
|
@ -399,7 +399,7 @@ public:
|
|||
}
|
||||
else if (type == LV2PlugIn)
|
||||
{
|
||||
out << "\t$(V_AT) $(JUCE_OUTDIR)/$(JUCE_TARGET_LV2_MANIFEST_HELPER) $(abspath $(JUCE_LV2_FULL_PATH))" << newLine
|
||||
out << "\t$(V_AT) $(JUCE_OUTDIR)/$(JUCE_TARGET_LV2_MANIFEST_HELPER) $(JUCE_LV2_FULL_PATH)" << newLine
|
||||
<< "\t-$(V_AT)[ ! \"$(JUCE_LV2DESTDIR)\" ] || (mkdir -p $(JUCE_LV2DESTDIR) && cp -R $(JUCE_COPYCMD_LV2_PLUGIN))" << newLine;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue