Link only the modules defined in the top-level Make.inc, so
authoraland <aland>
Mon, 15 Jul 2002 19:59:15 +0000 (19:59 +0000)
committeraland <aland>
Mon, 15 Jul 2002 19:59:15 +0000 (19:59 +0000)
experimental and non-working modules don't break the build.

src/main/Makefile.in

index 387633c..dfdc02e 100644 (file)
@@ -23,7 +23,7 @@ BINARIES      = radiusd radwho radzap raduse radclient radrelay
 # at build time.
 #
 ifneq ($(USE_SHARED_LIBS),yes)
-MODULE_LIBS    += $(shell for x in ../modules/rlm_*/rlm_*.la;do echo -dlpreopen $$x;done)
+MODULE_LIBS    += $(shell for x in $(MODULES);do test -f ../modules/$$x/$$x.la && echo -dlpreopen ../modules/$$x/$$x.la;done)
 endif
 
 all:   $(BINARIES)