use @rpath instead of @loader_path

See: http://www.dribin.org/dave/blog/archives/2009/11/15/rpath/
This commit is contained in:
Nathan Rajlich 2012-11-13 16:38:29 -08:00
parent 08e51d6596
commit bae7580ff8

View file

@ -19,7 +19,7 @@
[ 'OS=="mac"', {
'libraries': [ '-undefined dynamic_lookup' ],
'xcode_settings': {
'DYLIB_INSTALL_NAME_BASE': '@loader_path'
'DYLIB_INSTALL_NAME_BASE': '@rpath'
},
}],
[ 'OS=="win"', {