[pypy-commit] pypy cling-support: link examples with -lCore for the benefit of loadable_capi.py

wlav pypy.commits at gmail.com
Tue Aug 16 20:05:32 EDT 2016


Author: Wim Lavrijsen <WLavrijsen at lbl.gov>
Branch: cling-support
Changeset: r86238:6c2423d9357d
Date: 2016-08-16 17:01 -0700
http://bitbucket.org/pypy/pypy/changeset/6c2423d9357d/

Log:	link examples with -lCore for the benefit of loadable_capi.py

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
@@ -19,7 +19,7 @@
     cppflags=-pthread -std=c++11 -m64 -I./include -L./lib64 -L./lib
   else
     genreflex=$(ROOTSYS)/bin/genreflex
-    cppflags=$(shell $(ROOTSYS)/bin/root-config --cflags) $(shell $(ROOTSYS)/bin/root-config --ldflags)
+    cppflags=$(shell $(ROOTSYS)/bin/root-config --cflags) $(shell $(ROOTSYS)/bin/root-config --ldflags) -L$(shell $(ROOTSYS)/bin/root-config --libdir) -lCore
   endif
 endif
 


More information about the pypy-commit mailing list