]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
move bio stuff to compile flag
authorAlan T. DeKok <aland@freeradius.org>
Sat, 9 Mar 2024 15:43:40 +0000 (10:43 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Sat, 9 Mar 2024 15:43:40 +0000 (10:43 -0500)
until such time as we ca n figure out why it works for gcc in CI,
but doesn't work for clang in CI, but does work with clang locally

src/protocols/radius/all.mk

index 975c14d2a41660bdd0abe75c228cb79e324c3bac..6afdc9cfeb6debd26ff5b035a550097ece2525e8 100644 (file)
@@ -6,18 +6,24 @@
 TARGET         := libfreeradius-radius$(L)
 
 SOURCES                := base.c \
-                  client.c \
-                  client_udp.c \
-                  client_tcp.c \
                   decode.c \
                   encode.c \
-                  id.c \
                   list.c \
                   packet.c \
                   tcp.c \
-                  abinary.c \
-                  bio.c
+                  abinary.c
 
 SRC_CFLAGS     := -D_LIBRADIUS -DNO_ASSERT -I$(top_builddir)/src
 
-TGT_PREREQS    := libfreeradius-util$(L) libfreeradius-bio$(L)
+TGT_PREREQS    := libfreeradius-util$(L)
+
+ifneq "$(WITH_BIO)" ""
+SOURCES                += \
+                  client.c \
+                  client_udp.c \
+                  client_tcp.c \
+                  id.c \
+                  bio.c
+
+TGT_PREREQS    += libfreeradius-util$(L)
+endif