Skip to content

Commit

Permalink
Add darwin options to binding.gyp
Browse files Browse the repository at this point in the history
  • Loading branch information
LandryNorris committed Jul 7, 2023
1 parent 338393a commit c66d87b
Showing 1 changed file with 22 additions and 1 deletion.
23 changes: 22 additions & 1 deletion packages/rhsplib/binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,28 @@
}
],
}
]
],
[
'OS=="darwin" and target_arch=="x86_64"', {
'link_settings': {
'libraries': [
'-L<(module_root_dir)/RHSPlib/build-darwinX64/',
'-lRHSPlib'
],
'ldflags': [
'-Wl,-rpath,<(module_root_dir)/RHSPlib/build-darwinX64/',
]
},
'copies':[
{
'destination': '<(PRODUCT_DIR)',
'files':[
'<(module_root_dir)/RHSPlib/build-darwinX64Arm64/libRHSPlib.so',
],
}
],
}
],
],
'msvs_settings': {
'VCCLCompilerTool': {
Expand Down

0 comments on commit c66d87b

Please sign in to comment.