Skip to content

Commit 8a3357a

Browse files
committed
explicitly link against -lm
1 parent b30bfd3 commit 8a3357a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ext/rbczmq/extconf.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,7 @@ def check_heads heads = [], fatal = false
158158
fail "Error compiling and linking libsodium" unless have_library("sodium")
159159
fail "Error compiling and linking libzmq" unless have_library("zmq")
160160
fail "Error compiling and linking libczmq" unless have_library("czmq")
161+
fail "Error linking against libm" unless have_library("m")
161162

162163
$defs << "-pedantic"
163164

0 commit comments

Comments
 (0)