From 1aff7ae93e07680fea00ac2957fe0400f4e56623 Mon Sep 17 00:00:00 2001 From: Fons Rademakers <Fons.Rademakers@cern.ch> Date: Mon, 22 Nov 2010 16:39:18 +0000 Subject: [PATCH] make target "static" only when needed for iOS. git-svn-id: http://root.cern.ch/svn/root/trunk@36849 27541ba8-7e3a-0410-8455-c3a389f83636 --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 54de85170fb..e269d0d9eaa 100644 --- a/Makefile +++ b/Makefile @@ -339,6 +339,8 @@ ROOTLIBS := $(BOOTLIBS) $(LPATH)/libRIO.lib $(LPATH)/libNet.lib \ RINTLIBS := $(LPATH)/libRint.lib endif +ROOTALIB := $(LPATH)/libRoot.a + # ROOTLIBSDEP is intended to match the content of ROOTLIBS BOOTLIBSDEP = $(ORDER_) $(CORELIB) $(CINTLIB) $(MATHCORELIB) ifneq ($(ROOTDICTTYPE),cint) @@ -992,7 +994,9 @@ maintainer-clean:: distclean version: $(CINTTMP) @$(MAKEVERSION) -static: rootlibs +static: $(ROOTALIB) + +$(ROOTALIB): $(ALLLIBS) @$(MAKESTATIC) $(PLATFORM) "$(CXX)" "$(CC)" "$(LD)" "$(LDFLAGS)" \ "$(XLIBS)" "$(SYSLIBS)" "$(STATICEXTRALIBS)" -- GitLab