rpath only matters for shared libraries

This commit is contained in:
Ben Liblit 2018-01-21 16:15:31 -06:00
parent 7c4c2c895c
commit 22421c6882
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ model {
withType(StaticLibraryBinarySpec) {
buildable = false
}
all {
withType(SharedLibraryBinarySpec) {
switch ("$targetPlatform.operatingSystem.name/$targetPlatform.architecture.name") {
case 'linux/x86-64':
// TODO: compute path on following line from 'cast' library properties somehow