X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/3e061469c8529e44e50a22b648837259fbc19d70..73ff333eec2793138265afd36f716a23e0f8bff6:/projects/rlm_stg/Makefile 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