From: Maxim Mamontov Date: Thu, 17 Jan 2013 07:30:55 +0000 (+0200) Subject: Patch from SpiderX - path to FreeRADIUS plugins. X-Git-Tag: 2.409~372 X-Git-Url: https://git.stg.codes/stg.git/commitdiff_plain/73ff333eec2793138265afd36f716a23e0f8bff6 Patch from SpiderX - path to FreeRADIUS plugins. --- 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