From 8dae9c0fd90980863dafd0d7e8911d20530930a6 Mon Sep 17 00:00:00 2001
From: Fons Rademakers <Fons.Rademakers@cern.ch>
Date: Wed, 18 Jun 2008 13:45:18 +0000
Subject: [PATCH] cleanup all old .dylib's on MacOS X (on 10.5 .dylib are not
 needed anymore).

git-svn-id: http://root.cern.ch/svn/root/trunk@24332 27541ba8-7e3a-0410-8455-c3a389f83636
---
 Makefile | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index 771b655ba17..2d1080288eb 100644
--- a/Makefile
+++ b/Makefile
@@ -779,9 +779,8 @@ distclean:: clean
 	@rm -f bin/*.dll bin/*.exp bin/*.lib bin/*.pdb \
                lib/*.def lib/*.exp lib/*.lib lib/*.dll.a \
                *.def .def
-ifeq ($(subst $(MACOSX_MINOR),,1234),1234)
+ifeq ($(PLATFORM),macosx)
 	@rm -f lib/*.dylib
-else
 	@rm -f lib/*.so
 endif
 	-@mv -f tutorials/gallery.root tutorials/gallery.root-
-- 
GitLab