Skip to content

Commit 7d7b2e7

Browse files
committed
Use pkg-config for including shared libzmq
1 parent f9ee2a3 commit 7d7b2e7

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

binding.gyp

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,12 @@
6464

6565
["zmq_shared == 'true'", {
6666
'link_settings': {
67-
'libraries': ['-lzmq'],
67+
'ldflags': [
68+
'<!(pkg-config --libs-only-other --libs-only-L libzmq)'
69+
],
70+
'libraries': [
71+
'<!(pkg-config --libs-only-l libzmq)'
72+
],
6873
},
6974
}, {
7075
'conditions': [

0 commit comments

Comments
 (0)