Skip to content

Commit dfa2548

Browse files
committed
scripts: Fixes deprecated use of --with-relaxed
* From nteract/nteract#1189 (comment) * See zeromq/libzmq@7129187
1 parent 76206af commit dfa2548

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

scripts/build_libzmq.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,11 @@ test -d "${ZMQ_SRC_DIR}" || tar xzf zeromq-$ZMQ.tar.gz
2121
cd "${ZMQ_SRC_DIR}"
2222

2323
test -f configure || ./autogen.sh
24-
./configure "--prefix=${ZMQ_PREFIX}" --with-relaxed --enable-static --disable-shared
24+
if [ "$ZMQ" = "4.1.6" ]; then
25+
./configure "--prefix=${ZMQ_PREFIX}" --with-relaxed --enable-static --disable-shared ;
26+
else
27+
./configure "--prefix=${ZMQ_PREFIX}" --disable-pedantic --enable-static --disable-shared ;
28+
fi
2529
make -j 2
2630
make install
2731

0 commit comments

Comments
 (0)