1
0
mirror of https://github.com/haiwen/libsearpc.git synced 2025-09-10 17:19:48 +00:00

Avoid using python3 as default python interpreter.

Now if the user wants to build libsearpc when he/she has installed
python3 as default python interpreter.  He/She need to build program
as following steps:
 1. ./configure PYTHON=/usr/bin/python2.x
 2. make
 3. make install
This commit is contained in:
gnehzuil
2012-12-17 11:29:52 +08:00
committed by lins05
parent 1fc3913f06
commit f1d6bc56a2
3 changed files with 3 additions and 3 deletions

View File

@@ -31,7 +31,7 @@ gensource: ${generated_sources}
${generated_sources}: ${top_srcdir}/demo/rpc_table.py
@echo "[libsearpc]: generating rpc header files"
python ${top_srcdir}/lib/searpc-codegen.py ${top_srcdir}/demo/rpc_table.py
@PYTHON@ ${top_srcdir}/lib/searpc-codegen.py ${top_srcdir}/demo/rpc_table.py
@echo "[libsearpc]: done"
clean-local:

View File

@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
"""
Generate function define macros.

View File

@@ -23,7 +23,7 @@ gensource: ${generated_sources}
${generated_sources}: $(top_srcdir)/tests/rpc_table.py
@echo "[libsearpc]: generating rpc header files"
python ${top_srcdir}/lib/searpc-codegen.py $(top_srcdir)/tests/rpc_table.py
@PYTHON@ ${top_srcdir}/lib/searpc-codegen.py $(top_srcdir)/tests/rpc_table.py
@echo "[libsearpc]: done"
clean-local: