X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/73ff333eec2793138265afd36f716a23e0f8bff6..89bf1ada977fd8c84e395de5e664f3d4dff912a6:/projects/rlm_stg/Makefile diff --git a/projects/rlm_stg/Makefile b/projects/rlm_stg/Makefile index 3a4f5d7a..3d410483 100644 --- a/projects/rlm_stg/Makefile +++ b/projects/rlm_stg/Makefile @@ -76,7 +76,11 @@ endif uninstall: uninstall-bin uninstall-bin: +ifeq ($(OS), linux) rm -f $(PREFIX)/usr/lib/freeradius/$(PROG) +else + rm -f $(PREFIX)/usr/lib/$(PROG) +endif ifneq ($(MAKECMDGOALS),distclean) ifneq ($(MAKECMDGOALS),clean)