X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/73ff333eec2793138265afd36f716a23e0f8bff6..f6aeba07ab90a20378c84c89f46afb9e85738612:/projects/rlm_stg/Makefile?ds=sidebyside

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)