Mods for MacOSX
[u/mrichter/AliRoot.git] / MONITOR / binmonitorCheck.pkg
index fab99a1..715722d 100644 (file)
@@ -24,3 +24,11 @@ else
 ELIBS:= pythia6 pdf microcern
 
 endif
+
+ifeq (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
+ELIBS+=g2c
+endif