Mods for MacOSX
[u/mrichter/AliRoot.git] / MONITOR / binmonitorCheck.pkg
index fab99a170ad112523bca4aaf358647e62289bc7f..715722dccc4a30aa1e543123005a840ca9e5793d 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