1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
| sub builtDylibPathForName
{
my $framework = shift;
determineConfigurationProductDir();
if (isQt() or isGtk()) {
return "$configurationProductDir/$framework";
}
if (isOSX()) {
return "$configurationProductDir/$framework.framework/Versions/A/$framework";
}
if (isCygwin()) {
if ($framework eq "JavaScriptCore") {
return "$baseProductDir/lib/$framework.lib";
} else {
return "$baseProductDir/$framework.intermediate/$configuration/$framework.intermediate/$framework.lib";
}
}
die "Unsupported platform, can't determine built library locations.";
} |
Partager