Trying to get boost/python to work with dynamic linking.
This commit is contained in:
parent
4de38a916a
commit
4baeefcde4
4 changed files with 4 additions and 19 deletions
11
Makefile.am
11
Makefile.am
|
|
@ -75,10 +75,6 @@ endif
|
|||
if DEBUG
|
||||
libledger_la_CPPFLAGS += -DDEBUG_MODE
|
||||
endif
|
||||
if HAVE_BOOST_PYTHON
|
||||
libledger_la_CPPFLAGS += -DUSE_BOOST_PYTHON=1
|
||||
libledger_la_SOURCES += src/pyinterp.cc
|
||||
endif
|
||||
|
||||
if USE_PCH
|
||||
nodist_libledger_la_SOURCES = system.hh.gch
|
||||
|
|
@ -96,9 +92,10 @@ endif
|
|||
libpyledger_la_CPPFLAGS = $(libledger_la_CPPFLAGS)
|
||||
libpyledger_la_LDFLAGS = -release $(PACKAGE_VERSION)
|
||||
|
||||
libpyledger_la_SOURCES = \
|
||||
src/py_utils.cc \
|
||||
src/py_times.cc \
|
||||
libpyledger_la_SOURCES = \
|
||||
src/pyinterp.cc \
|
||||
src/py_utils.cc \
|
||||
src/py_times.cc \
|
||||
src/py_commodity.cc \
|
||||
src/py_amount.cc
|
||||
|
||||
|
|
|
|||
|
|
@ -30,9 +30,6 @@
|
|||
*/
|
||||
|
||||
#include "format.h"
|
||||
#if 0
|
||||
#include "pyinterp.h"
|
||||
#endif
|
||||
|
||||
namespace ledger {
|
||||
|
||||
|
|
|
|||
|
|
@ -32,11 +32,6 @@
|
|||
#include "journal.h"
|
||||
#include "xpath.h"
|
||||
#include "mask.h"
|
||||
#if 0
|
||||
#ifdef USE_BOOST_PYTHON
|
||||
#include "pyinterp.h"
|
||||
#endif
|
||||
#endif
|
||||
|
||||
namespace ledger {
|
||||
|
||||
|
|
|
|||
|
|
@ -37,11 +37,7 @@
|
|||
#include "qif.h"
|
||||
#include "ofx.h"
|
||||
|
||||
#if defined(USE_BOOST_PYTHON)
|
||||
#include <pyledger.h>
|
||||
#else
|
||||
#include <ledger.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_UNIX_PIPES
|
||||
#include <sys/types.h>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue