- Add note that building with --disable-shared at the moment doesn't work

git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@393 3ecf2c5c-341e-0410-92b4-d18e462d057c
This commit is contained in:
tchernobog 2006-02-23 09:26:27 +00:00
parent 8eeeaae3f5
commit 075e12d14d
3 changed files with 8 additions and 2 deletions

View File

@ -273,7 +273,8 @@ _sgpem_la_CPPFLAGS = \
-I@top_srcdir@/src/backend \ -I@top_srcdir@/src/backend \
$(SWIG_PYTHON_CPPFLAGS) \ $(SWIG_PYTHON_CPPFLAGS) \
$(GLIBMM_CFLAGS) $(GLIBMM_CFLAGS)
_sgpem_la_LDFLAGS = -module $(GLIBMM_LDFLAGS) _sgpem_la_LDFLAGS = -module -export-dynamic \
$(GLIBMM_LDFLAGS)
_sgpem_la_LIBADD = src/backend/libbackend.la \ _sgpem_la_LIBADD = src/backend/libbackend.la \
$(GLIBMM_LIBS) $(GLIBMM_LIBS)
_sgpem_la_SOURCES = $(wrappers) _sgpem_la_SOURCES = $(wrappers)

View File

@ -210,6 +210,10 @@ For example, on my machine, I would use:
@end example @end example
@sp 2 @sp 2
@strong{Warning}: at the moment, we are aware that passing
@option{--disable-shared} to configure doesn't work. We'll look into it
sooner or later, but in the meantime just build shared libraries.
@noindent Once succesfully configured SGPEMv2, just type: @noindent Once succesfully configured SGPEMv2, just type:
@example @example
@command{make} @command{make}

View File

@ -103,7 +103,8 @@ PythonPolicy::sort_queue(Scheduler::event event) const
PyObject* pEvent = PyInt_FromLong(event); PyObject* pEvent = PyInt_FromLong(event);
PyObject* pMethodName = PyString_FromString("async_sort_queue"); PyObject* pMethodName = PyString_FromString("async_sort_queue");
PyObject* retval = PyObject_CallMethodObjArgs(_adapter, pMethodName, pEvent, NULL); PyObject* retval = PyObject_CallMethodObjArgs(_adapter, pMethodName, pEvent, NULL);
Py_DECREF(retval); // Why we haven't to decref this?
// Py_DECREF(retval);
Py_DECREF(pMethodName); Py_DECREF(pMethodName);
Py_DECREF(pEvent); Py_DECREF(pEvent);