Link locally to shared library using rpath.
This commit is contained in:
parent
b9aa8a4d4f
commit
edd0e5b092
|
@ -25,10 +25,15 @@
|
||||||
'-frtti',
|
'-frtti',
|
||||||
'-fpermissive',
|
'-fpermissive',
|
||||||
],
|
],
|
||||||
|
'link_settings': {
|
||||||
'libraries': [
|
'libraries': [
|
||||||
'-lboost_filesystem',
|
'-lboost_filesystem',
|
||||||
'<!(./platform/os.sh thread)',
|
'<!(./platform/os.sh thread)',
|
||||||
'<!(./platform/os.sh lib)'
|
'<!(./platform/os.sh lib)'
|
||||||
|
],
|
||||||
|
'ldflags': [
|
||||||
|
'-Wl,-rpath,<!(./platform/os.sh osdir)'
|
||||||
]
|
]
|
||||||
|
}
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue