Avoid linking with pythia when not needed
[u/mrichter/AliRoot.git] / MONITOR / binmonitorGDC.pkg
index 1c6fdeadd07bd2e146a880a292e868bf29958394..35886c6b9e168147df9ae0856b99acae5ef185ee 100644 (file)
@@ -16,11 +16,15 @@ EINCLUDE+=TPC CONTAINERS ITS RAW HLT/src HLT/hough HLT/comp HLT/ITS
 ifdef DATE_ROOT
 
 ELIBSDIR:=${DATE_MONITOR_DIR}/${DATE_SYS}
-ELIBS:=ESD STEER RAWData TPCbase TPCsim TPCrec CONTAINERS AliL3Src AliL3Misc AliL3Hough AliL3Comp AliL3ITS ITS monitor shift pythia6 pdf microcern
+ELIBS:=ESD STEER RAWData TPCbase TPCsim TPCrec CONTAINERS AliL3Src AliL3Misc AliL3Hough AliL3Comp AliL3ITS ITS monitor shift
 EINCLUDE+= ${DATE_COMMON_DEFS} ${DATE_MONITOR_DIR}
 
 else
 
-ELIBS:= pythia6 pdf microcern
+PACKBLIBS := $(ROOTCLIBS) $(SYSLIBS)
 
 endif
+
+ifneq (,$(findstring macosx,$(ALICE_TARGET)))
+PACKLDFLAGS:=$(LDFLAGS) $(ELIBS:%=-Wl,-u,_G__cpp_setupG__%)
+endif