X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/65a51d11c64daa4df3d4388df60bb4efc3e67e14..f3300c448f21eb61c08284f1e210bd7766da784e:/projects/rlm_stg/Makefile?ds=sidebyside diff --git a/projects/rlm_stg/Makefile b/projects/rlm_stg/Makefile index 1280bd91..27f486b4 100644 --- a/projects/rlm_stg/Makefile +++ b/projects/rlm_stg/Makefile @@ -8,25 +8,28 @@ LIB_NAME = rlm_stg PROG = $(LIB_NAME).so -SRCS = ./rlm_stg.c \ - ./iface.cpp \ - ./stg_client.cpp +SRCS = rlm_stg.c \ + iface.cpp \ + stg_client.cpp \ + conn.cpp \ + radlog.c STGLIBS = crypto \ common \ - sgcp + json STGLIBS_INCS = $(addprefix -I ../../stglibs/,$(addsuffix .lib/include,$(STGLIBS))) STGLIBS_LIBS = $(addprefix -L ../../stglibs/,$(addsuffix .lib,$(STGLIBS))) -LIBS += $(addprefix -lstg,$(STGLIBS)) $(LIB_THREAD) +LIBS += $(addprefix -lstg,$(STGLIBS)) $(LIB_THREAD) $(LIBICONV) ifeq ($(OS),linux) -LIBS += -ldl +LIBS += -ldl \ + -lyajl else LIBS += -lintl \ -lc \ - -liconv + -lyajl endif SEARCH_DIRS = -I ../../include