Skip to content

Commit

Permalink
Use pkg-config for including shared libzmq
Browse files Browse the repository at this point in the history
  • Loading branch information
jirijakes committed Jul 26, 2024
1 parent f9ee2a3 commit 7d7b2e7
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,12 @@

["zmq_shared == 'true'", {
'link_settings': {
'libraries': ['-lzmq'],
'ldflags': [
'<!(pkg-config --libs-only-other --libs-only-L libzmq)'
],
'libraries': [
'<!(pkg-config --libs-only-l libzmq)'
],
},
}, {
'conditions': [
Expand Down

0 comments on commit 7d7b2e7

Please sign in to comment.