|
[yoda-svn] r581 - trunk/pyextblackhole at projects.hepforge.org blackhole at projects.hepforge.orgThu Apr 4 17:04:12 BST 2013
Author: buckley Date: Thu Apr 4 17:04:12 2013 New Revision: 581 Log: Another artefact of the Boost macro change fixed Modified: trunk/pyext/setup.py.in Modified: trunk/pyext/setup.py.in ============================================================================== --- trunk/pyext/setup.py.in Wed Apr 3 16:07:13 2013 (r580) +++ trunk/pyext/setup.py.in Thu Apr 4 17:04:12 2013 (r581) @@ -11,8 +11,8 @@ ## Extension definition import os.path incdir = os.path.abspath('@top_srcdir@/include') -boostdir = os.path.abspath('@BOOSTINCPATH@') srcdir = os.path.abspath('@top_srcdir@/src') +libdir = os.path.abspath("@top_builddir@/src/.libs") statics = os.path.join('yoda', 'errors.cpp') @@ -23,8 +23,10 @@ ['%s/%s.pyx' % (PKGNAME, name)] + statics, language='c++', depends=depends, - include_dirs=[incdir, PKGNAME, boostdir], - library_dirs=[srcdir, os.path.join(srcdir, '.libs')], + include_dirs=[incdir, PKGNAME], + extra_compile_args= "-I at prefix@/include @BOOST_CPPFLAGS@".split(), + library_dirs=[libdir], + extra_link_args = ["-L at prefix@/lib"], libraries=['stdc++', 'YODA'])
More information about the yoda-svn mailing list |