Skip to content

Commit

Permalink
Use a single shared library
Browse files Browse the repository at this point in the history
  • Loading branch information
kleisauke authored and lovell committed Mar 14, 2021
1 parent 984a9e6 commit 6aaf839
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,7 @@
'link_settings': {
'library_dirs': ['<(sharp_vendor_dir)/lib'],
'libraries': [
'libvips-cpp.42.dylib',
'libvips.42.dylib'
'libvips-cpp.42.dylib'
]
},
'xcode_settings': {
Expand All @@ -158,8 +157,7 @@
'link_settings': {
'library_dirs': ['<(sharp_vendor_dir)/lib'],
'libraries': [
'-l:libvips-cpp.so.42',
'-l:libvips.so.42'
'-l:libvips-cpp.so.42'
],
'ldflags': [
# Ensure runtime linking is relative to sharp.node
Expand Down

0 comments on commit 6aaf839

Please sign in to comment.