1. dirkbaechle
  2. SCons_CPython

Commits

dirkbaechle  committed dbe9a14

- corrected boost libname and test

  • Participants
  • Parent commits d843a3f
  • Branches default

Comments (0)

Files changed (2)

File __init__.py

View file
  • Ignore whitespace
     env.Append(CPPPATH=['$CPYTHON_INCLUDE','$CPYTHON_BOOSTINC'])
     env.AppendUnique(LINKFLAGS=['-shared','-Wl,--export-dynamic'])
     env.Append(LIBPATH=['$CPYTHON_BOOSTLIB','$CPYTHON_LIB/config'])
-    env.AppendUnique(LIBS=['boost_python-$CPYTHON_VERSION','python$CPYTHON_VERSION'])
+    env.AppendUnique(LIBS=['boost_python','python$CPYTHON_VERSION'])
 
     try:
         env.AddMethod(InstallPython, "InstallPython")

File test/boost/sconstest-boost-compile.py

View file
  • Ignore whitespace
 test.file_fixture('../../__init__.py','site_scons/site_tools/cpython/__init__.py')
 test.run()
 
-test.must_exist('hello_ext.so')
+test.must_exist('libhello_ext.so')
 
 test.pass_test()