ccnet-server: generate required searpc header files

This commit is contained in:
Trolli Schmittlauch 2019-10-09 00:54:36 +02:00
parent 2011cc3c9a
commit 518d4fd1c2

View file

@ -65,11 +65,11 @@
nativeBuildInputs = [ autoconf automake libtool pkgconfig autoreconfHook ];
configureFlags = [ "--disable-static" ];
# generate required searpc header files
preBuildPhases = ''
pwd
preBuildPhases = [ "searpcHeadergenPhase" ];
searpcHeadergenPhase = ''
cd ./lib/
${python27} ${libsearpc}/bin/searpc-codegen.py rpc_table.py
cd -
python2 ${libsearpc}/bin/searpc-codegen.py rpc_table.py
cd ..
'';
meta = {