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
|
|
@ -75,10 +75,6 @@ endif
|
||||||
if DEBUG
|
if DEBUG
|
||||||
libledger_la_CPPFLAGS += -DDEBUG_MODE
|
libledger_la_CPPFLAGS += -DDEBUG_MODE
|
||||||
endif
|
endif
|
||||||
if HAVE_BOOST_PYTHON
|
|
||||||
libledger_la_CPPFLAGS += -DUSE_BOOST_PYTHON=1
|
|
||||||
libledger_la_SOURCES += src/pyinterp.cc
|
|
||||||
endif
|
|
||||||
|
|
||||||
if USE_PCH
|
if USE_PCH
|
||||||
nodist_libledger_la_SOURCES = system.hh.gch
|
nodist_libledger_la_SOURCES = system.hh.gch
|
||||||
|
|
@ -97,6 +93,7 @@ libpyledger_la_CPPFLAGS = $(libledger_la_CPPFLAGS)
|
||||||
libpyledger_la_LDFLAGS = -release $(PACKAGE_VERSION)
|
libpyledger_la_LDFLAGS = -release $(PACKAGE_VERSION)
|
||||||
|
|
||||||
libpyledger_la_SOURCES = \
|
libpyledger_la_SOURCES = \
|
||||||
|
src/pyinterp.cc \
|
||||||
src/py_utils.cc \
|
src/py_utils.cc \
|
||||||
src/py_times.cc \
|
src/py_times.cc \
|
||||||
src/py_commodity.cc \
|
src/py_commodity.cc \
|
||||||
|
|
|
||||||
|
|
@ -30,9 +30,6 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "format.h"
|
#include "format.h"
|
||||||
#if 0
|
|
||||||
#include "pyinterp.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
namespace ledger {
|
namespace ledger {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -32,11 +32,6 @@
|
||||||
#include "journal.h"
|
#include "journal.h"
|
||||||
#include "xpath.h"
|
#include "xpath.h"
|
||||||
#include "mask.h"
|
#include "mask.h"
|
||||||
#if 0
|
|
||||||
#ifdef USE_BOOST_PYTHON
|
|
||||||
#include "pyinterp.h"
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
namespace ledger {
|
namespace ledger {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -37,11 +37,7 @@
|
||||||
#include "qif.h"
|
#include "qif.h"
|
||||||
#include "ofx.h"
|
#include "ofx.h"
|
||||||
|
|
||||||
#if defined(USE_BOOST_PYTHON)
|
|
||||||
#include <pyledger.h>
|
|
||||||
#else
|
|
||||||
#include <ledger.h>
|
#include <ledger.h>
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef HAVE_UNIX_PIPES
|
#ifdef HAVE_UNIX_PIPES
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue