mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-09-17 14:35:51 +00:00
simplex-chat-nodejs: fix library loading on Mac
This commit is contained in:
@@ -7,8 +7,19 @@
|
||||
"-L<(module_root_dir)/libs",
|
||||
"-lsimplex"
|
||||
],
|
||||
"ldflags": [
|
||||
"-Wl,-rpath,'$$ORIGIN'/../../libs"
|
||||
"conditions": [
|
||||
["OS=='mac'", {
|
||||
"xcode_settings": {
|
||||
"OTHER_LDFLAGS": [
|
||||
"-Wl,-rpath,@loader_path/../../libs"
|
||||
]
|
||||
}
|
||||
}],
|
||||
["OS=='linux'", {
|
||||
"ldflags": [
|
||||
"-Wl,-rpath,'$$ORIGIN'/../../libs"
|
||||
]
|
||||
}]
|
||||
]
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user