Link locally to shared library using rpath.

This commit is contained in:
Braydon Fuller 2015-07-09 14:57:46 -04:00
parent b9aa8a4d4f
commit edd0e5b092
1 changed files with 10 additions and 5 deletions

View File

@ -25,10 +25,15 @@
'-frtti', '-frtti',
'-fpermissive', '-fpermissive',
], ],
'libraries': [ 'link_settings': {
'-lboost_filesystem', 'libraries': [
'<!(./platform/os.sh thread)', '-lboost_filesystem',
'<!(./platform/os.sh lib)' '<!(./platform/os.sh thread)',
] '<!(./platform/os.sh lib)'
],
'ldflags': [
'-Wl,-rpath,<!(./platform/os.sh osdir)'
]
}
}] }]
} }