From 73ff333eec2793138265afd36f716a23e0f8bff6 Mon Sep 17 00:00:00 2001 From: Maxim Mamontov Date: Thu, 17 Jan 2013 09:30:55 +0200 Subject: [PATCH] Patch from SpiderX - path to FreeRADIUS plugins. --- projects/rlm_stg/Makefile | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/projects/rlm_stg/Makefile b/projects/rlm_stg/Makefile index 6190491f..3a4f5d7a 100644 --- a/projects/rlm_stg/Makefile +++ b/projects/rlm_stg/Makefile @@ -58,9 +58,18 @@ install: install-bin install-bin: ifeq ($(DEBUG), yes) +ifeq ($(OS), linux) install -D -m $(BIN_MODE) -o $(OWNER) $(PROG) $(PREFIX)/usr/lib/freeradius/$(PROG) else + install -D -m $(BIN_MODE) -o $(OWNER) $(PROG) $(PREFIX)/usr/lib/$(PROG) +endif +else + install -D -m $(BIN_MODE) -o $(OWNER) -s $(PROG) $(PREFIX)/usr/lib/freeradius/$(PROG) +ifeq ($(OS), linux) install -D -m $(BIN_MODE) -o $(OWNER) -s $(PROG) $(PREFIX)/usr/lib/freeradius/$(PROG) +else + install -D -m $(BIN_MODE) -o $(OWNER) -s $(PROG) $(PREFIX)/usr/lib/$(PROG) +endif endif $(MAKE) -C $(DIR_LIBSRC) install -- 2.44.2