Skip to content

Commit b6bc8c6

Browse files
authored
Merge pull request #100 from n-riesco/fix-with-relaxed
scripts: Fixes deprecated use of `--with-relaxed`
2 parents 76206af + dfa2548 commit b6bc8c6

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)