docker/compile_frr: Don't build with disable shared

With libyang, we need to build the frr_user_types.so libyang
plugin for FRR to work.

This means we cannot build with disable shared.

Signed-off-by: Christian Franke <chris@opensourcerouting.org>
This commit is contained in:
Christian Franke 2018-11-09 15:42:10 +01:00
parent 9b5470a843
commit 937e5dab6a

View File

@ -74,9 +74,7 @@ if [ ! -e Makefile ]; then
if [ "${TOPOTEST_SANITIZER}" != "0" ]; then
export CC="gcc"
export CFLAGS="-O1 -g -fsanitize=address -fno-omit-frame-pointer"
export LD="gcc"
export LDFLAGS="-g -fsanitize=address -ldl"
EXTRA_CONFIGURE+=" --enable-shared=no "
touch .address_sanitizer
else
rm -f .address_sanitizer
@ -84,6 +82,8 @@ if [ ! -e Makefile ]; then
bash configure >&3 \
--enable-static-bin \
--enable-static \
--enable-shared \
--with-moduledir=/usr/lib/frr/modules \
--prefix=/usr \
--localstatedir=/var/run/frr \