return args;
}
private void maybeSetInstallName(SharedLibraryLinkerSpec spec, List<String> args) {
String installName = spec.getInstallName();
OperatingSystem targetOs = spec.getTargetPlatform().getOperatingSystem();
if (installName == null || targetOs.isWindows()) {
return;
}
if (targetOs.isMacOsX()) {
args.add("-Wl,-install_name," + installName);
} else {
args.add("-Wl,-soname," + installName);
}
}