Skip to content

Commit fb6b794

Browse files
committed
statically link libzmq
requires pkg-config to locate libzmq.a this can probably be done with some manual checking as well, but if the goal is prebuilt binaries, requiring pkg-config should be safe.
1 parent 505968b commit fb6b794

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

binding.gyp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
}
3333
},
3434
}, {
35-
'libraries': ['-lzmq'],
35+
'libraries': [ '<!@(pkg-config libzmq --variable=libdir)/libzmq.a' ],
3636
'cflags!': ['-fno-exceptions'],
3737
'cflags_cc!': ['-fno-exceptions'],
3838
}],

0 commit comments

Comments
 (0)