]> git.stg.codes - stg.git/commitdiff
Fixed rlm_stg removing broken by previous patch.
authorMaxim Mamontov <faust.madf@gmail.com>
Thu, 17 Jan 2013 18:58:37 +0000 (20:58 +0200)
committerMaxim Mamontov <faust.madf@gmail.com>
Thu, 17 Jan 2013 18:58:37 +0000 (20:58 +0200)
projects/rlm_stg/Makefile

index 3a4f5d7ab2d997adc849920379f8840779e6f24f..3d4104838be58f4aa0a851281f2b08758a983648 100644 (file)
@@ -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)