Revert changeset introduced in r3424 and add a specific define to disable

boost.serialization for python bindings build.
This commit is contained in:
cg25 2009-04-30 05:28:22 +00:00
parent 242967a64d
commit ecdf83547e
2 changed files with 2 additions and 2 deletions

View File

@ -79,6 +79,6 @@ setup( name='python-libtorrent',
include_dirs = ['@top_srcdir@/include','@top_srcdir@/include/libtorrent'] + parse_cmd(extra_cmd, '-I'), include_dirs = ['@top_srcdir@/include','@top_srcdir@/include/libtorrent'] + parse_cmd(extra_cmd, '-I'),
library_dirs = ['@top_builddir@/src/.libs'] + parse_cmd(extra_cmd, '-L'), library_dirs = ['@top_builddir@/src/.libs'] + parse_cmd(extra_cmd, '-L'),
extra_link_args = '@LDFLAGS@'.split() + arch(), extra_link_args = '@LDFLAGS@'.split() + arch(),
extra_compile_args = parse_cmd(extra_cmd, '-D', True) + arch(), extra_compile_args = parse_cmd(extra_cmd, '-D', True) + arch() + ['-DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION'],
libraries = ['torrent-rasterbar','@BOOST_PYTHON_LIB@'] + parse_cmd(extra_cmd, '-l'))], libraries = ['torrent-rasterbar','@BOOST_PYTHON_LIB@'] + parse_cmd(extra_cmd, '-l'))],
) )

View File

@ -172,7 +172,7 @@ AC_ARG_WITH(
[[logging=none]] [[logging=none]]
) )
COMPILETIME_OPTIONS="-DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION " COMPILETIME_OPTIONS=""
dnl Check the value for the --with-logging switch dnl Check the value for the --with-logging switch
AC_MSG_CHECKING([what form of logging to use]) AC_MSG_CHECKING([what form of logging to use])
case "$logging" in case "$logging" in