Compilation of EVE on Mac
[u/mrichter/AliRoot.git] / EVE / binreve.pkg
index aeb53a9a308d86c19809ba5097ab18ff9e95295d..1118c15c2e732b133105c076d4a2f4a7e328e5e4 100644 (file)
@@ -6,3 +6,11 @@ ELIBSDIR :=
 ELIBS    := Reve
 
 PACKBLIBS := $(ROOTCLIBS) -lTreePlayer -lGeomPainter -lGed -lRGL $(SYSLIBS)
+
+ifeq (macosx,$(ALICE_TARGET))
+
+PACKLDFLAGS:=$(LDFLAGS) $(ELIBSCPP:%=-Wl,-u,_G__cpp_setupG__%)
+# On Mac OS X gcc we need GL
+ELIBS+=GL
+ELIBSDIR+=/usr/X11R6/lib/
+endif