1
0
Fork 0
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:
reuk 2022-12-13 20:35:25 +00:00
parent f248a09c59
commit 6f458086f9
No known key found for this signature in database
GPG key ID: 9ADCD339CFC98A11

View file

@ -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;
}