summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Franke <chris@opensourcerouting.org>2018-11-09 15:42:10 +0100
committerChristian Franke <chris@opensourcerouting.org>2018-11-29 16:51:27 +0100
commit937e5dab6a352e22363b5bee7e504b92d964d45e (patch)
treefe50ee903a4df02f134f6a04cc20248a2337e765
parent9b5470a84351b0a0bd5db441240c362737210ac9 (diff)
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>
-rwxr-xr-xtests/topotests/docker/inner/compile_frr.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/topotests/docker/inner/compile_frr.sh b/tests/topotests/docker/inner/compile_frr.sh
index 896514b5d5..2d72082c1e 100755
--- a/tests/topotests/docker/inner/compile_frr.sh
+++ b/tests/topotests/docker/inner/compile_frr.sh
@@ -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 \