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',
'-fpermissive',
],
'libraries': [
'-lboost_filesystem',
'<!(./platform/os.sh thread)',
'<!(./platform/os.sh lib)'
]
'link_settings': {
'libraries': [
'-lboost_filesystem',
'<!(./platform/os.sh thread)',
'<!(./platform/os.sh lib)'
],
'ldflags': [
'-Wl,-rpath,<!(./platform/os.sh osdir)'
]
}
}]
}