mirror of
https://git.proxmox.com/git/mirror_frr
synced 2026-01-06 02:57:18 +00:00
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:
parent
9b5470a843
commit
937e5dab6a
@ -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 \
|
||||
|
||||
Loading…
Reference in New Issue
Block a user