Update for OSX 10.4
authoralibrary <alibrary@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 9 Jun 2005 17:54:18 +0000 (17:54 +0000)
committeralibrary <alibrary@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 9 Jun 2005 17:54:18 +0000 (17:54 +0000)
RAW/binalimdc.pkg

index 30fb0dc0e0924862e4f603006fdde9757254be6b..9bab0897b5f73cc12403ba8f6432f7c46dfebe2a 100644 (file)
@@ -16,13 +16,15 @@ EINCLUDE+=TPC CONTAINERS ITS RAW HLT/src HLT/hough HLT/comp HLT/ITS
 
 ELIBS:=ESD RAWData MDC MDCFilter STEER TPCbase TPCsim TPCrec CONTAINERS AliL3Src AliL3Misc AliL3Hough AliL3Comp AliL3ITS ITS pythia6 pdf microcern
 
-#ifneq (,$(findstring macosx,$(ALICE_TARGET)))
-ifeq (macosx,$(ALICE_TARGET))
+ifneq (,$(findstring macosx,$(ALICE_TARGET)))
 @PACKAGE@LIBSINIT:=$(filter-out microcern,$(ELIBS))
 @PACKAGE@LIBSINIT:=$(filter-out pdf,$(@PACKAGE@LIBSINIT))
 PACKLDFLAGS:=$(LDFLAGS) $(@PACKAGE@LIBSINIT:%=-Wl,-u,_G__cpp_setupG__%)
-# On Mac OS X gcc we need g2c
+# On Mac OS X gcc we need g2c for versions before 10.4
+ifneq ($(MACOSX_MINOR),4)
 ELIBS+=g2c
+ELIBSDIR+=$(dir $(shell find $(FINK_ROOT) -name 'libg2c.*'))
+endif
 endif
 
 ifdef DATE_ROOT