From a8281715d3fd94fc4fadc9f079c39ff279c5f279 Mon Sep 17 00:00:00 2001
From: Maxim Mamontov <faust.madf@gmail.com>
Date: Thu, 17 Jan 2013 20:58:37 +0200
Subject: [PATCH] Fixed rlm_stg removing broken by previous patch.

---
 projects/rlm_stg/Makefile | 4 ++++
 1 file changed, 4 insertions(+)

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)
-- 
2.44.2