mirror of
https://github.com/haiwen/libsearpc.git
synced 2025-08-18 20:36:58 +00:00
for mingw , pass with ./configure --disable-compile-demo
This commit is contained in:
parent
6b28cc4b38
commit
e1c7f95a22
@ -50,5 +50,7 @@ if test "$DIE" -eq 1; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
autoreconf --install
|
cp -f lib/rpc_table.py pysearpc/
|
||||||
|
|
||||||
|
autoreconf --install -I/local/share/aclocal
|
||||||
|
|
||||||
|
@ -69,7 +69,7 @@ AC_SUBST(JSON_GLIB_LIBS)
|
|||||||
# conditinally check python and subst
|
# conditinally check python and subst
|
||||||
if test x${compile_python} = xyes; then
|
if test x${compile_python} = xyes; then
|
||||||
AM_PATH_PYTHON([2.4])
|
AM_PATH_PYTHON([2.4])
|
||||||
AM_CHECK_PYTHON_HEADERS(,[AC_MSG_ERROR(could not find Python headers)])
|
# AM_CHECK_PYTHON_HEADERS(,[AC_MSG_ERROR(could not find Python headers)])
|
||||||
PKG_CHECK_MODULES(PYGOBJECT, [pygobject-2.0 >= $PYGOBJECT_REQUIRED])
|
PKG_CHECK_MODULES(PYGOBJECT, [pygobject-2.0 >= $PYGOBJECT_REQUIRED])
|
||||||
AC_SUBST(PYGOBJECT_CFLAGS)
|
AC_SUBST(PYGOBJECT_CFLAGS)
|
||||||
AC_SUBST(PYGOBJECT_LIBS)
|
AC_SUBST(PYGOBJECT_LIBS)
|
||||||
|
@ -33,9 +33,10 @@ noinst_HEADERS = searpc-utils.h fcall-impr.h marshal.h
|
|||||||
|
|
||||||
libsearpc_la_SOURCES = searpc-client.c searpc-server.c $(generated_sources)
|
libsearpc_la_SOURCES = searpc-client.c searpc-server.c $(generated_sources)
|
||||||
|
|
||||||
libsearpc_la_LDFLAGS = -Wl,-z -Wl,defs -version-info 1:1:0
|
libsearpc_la_LDFLAGS = -version-info 1:1:0 -no-undefined
|
||||||
|
|
||||||
libsearpc_la_LIBADD = @GLIB2_LIBS@ @GOBJECT_LIBS@ @JSON_GLIB_LIBS@
|
libsearpc_la_LIBADD = @GLIB2_LIBS@ @GOBJECT_LIBS@ @JSON_GLIB_LIBS@ \
|
||||||
|
-lglib-2.0 -lgobject-2.0 -ljson-glib-1.0
|
||||||
|
|
||||||
genrpc_files = gencode.py rpc_table.py
|
genrpc_files = gencode.py rpc_table.py
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user