Selaa lähdekoodia

* modules_k/acc: included Makefile.radius

* Included Makefile.radius if RADIUS accounting is enabled.
Juha Heinanen 16 vuotta sitten
vanhempi
commit
42b8c97741
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 2 2
      modules_k/acc/Makefile

+ 2 - 2
modules_k/acc/Makefile

@@ -17,8 +17,8 @@ DEFS+=-DSQL_ACC
 #   (uncomment next line or 'ENABLE_RADIUS_ACC=true make all')
 #   (uncomment next line or 'ENABLE_RADIUS_ACC=true make all')
 #ENABLE_RADIUS_ACC=true
 #ENABLE_RADIUS_ACC=true
 ifeq ($(ENABLE_RADIUS_ACC),true)
 ifeq ($(ENABLE_RADIUS_ACC),true)
-DEFS+=-DRAD_ACC -I$(LOCALBASE)/include
-LIBS=-L$(LOCALBASE)/lib $(RADIUS_LIB)
+include ../../Makefile.radius
+DEFS+=-DRAD_ACC
 endif
 endif
 
 
 # set ENABLE_DIAMETER_ACC to true if you wish to enable DIAMETER accounting
 # set ENABLE_DIAMETER_ACC to true if you wish to enable DIAMETER accounting