Link locally to shared library using rpath.
This commit is contained in:
parent
b9aa8a4d4f
commit
edd0e5b092
15
binding.gyp
15
binding.gyp
|
@ -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)'
|
||||
]
|
||||
}
|
||||
}]
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue