Add ROOT plug-in path to library path to link against libRGL (Christian)
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 15 May 2007 12:26:25 +0000 (12:26 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 15 May 2007 12:26:25 +0000 (12:26 +0000)
EVE/binreve.pkg

index c46dec1..69971e9 100644 (file)
@@ -5,7 +5,9 @@ EINCLUDE :=
 ELIBSDIR :=
 ELIBS    := Reve
 
-PACKBLIBS := $(ROOTCLIBS) -lTreePlayer -lGeomPainter -lGed -lRGL $(SYSLIBS)
+PACKBLIBS := $(ROOTCLIBS) -lTreePlayer -lGeomPainter -lGed \
+            -L$(shell root-config --libdir)/$(dir $(shell root-config --version)) -lRGL \
+            $(SYSLIBS)
 
 ifeq (macosx,$(ALICE_TARGET))