[pypy-commit] pypy default: allow the envar REFLEXHOME in lieu of ROOTSYS

wlav noreply at buildbot.pypy.org
Wed Apr 24 03:22:35 CEST 2013


Author: Wim Lavrijsen <WLavrijsen at lbl.gov>
Branch: 
Changeset: r63576:1db95a66c866
Date: 2013-04-23 18:20 -0700
http://bitbucket.org/pypy/pypy/changeset/1db95a66c866/

Log:	allow the envar REFLEXHOME in lieu of ROOTSYS

diff --git a/pypy/module/cppyy/test/Makefile b/pypy/module/cppyy/test/Makefile
--- a/pypy/module/cppyy/test/Makefile
+++ b/pypy/module/cppyy/test/Makefile
@@ -3,7 +3,11 @@
 std_streamsDict.so iotypesDict.so
 all : $(dicts)
 
-ROOTSYS := ${ROOTSYS}
+ifneq (${REFLEXHOME},)
+  ROOTSYS := ${REFLEXHOME}
+else
+  ROOTSYS := ${ROOTSYS}
+endif
 
 ifeq ($(ROOTSYS),)
   genreflex=genreflex


More information about the pypy-commit mailing list