mirror of
https://github.com/nfstream/nfstream.git
synced 2026-05-19 07:54:25 +00:00
[WIP] Improve CI.
This commit is contained in:
parent
10bc68389d
commit
a10c2aee95
2 changed files with 3 additions and 3 deletions
|
|
@ -19,6 +19,7 @@ build_libpcap() {
|
|||
cd libpcap
|
||||
./configure --enable-ipv6 --disable-universal --enable-dbus=no --without-libnl
|
||||
make
|
||||
make DESTDIR=/tmp/nfstream_build install
|
||||
cd ..
|
||||
echo "---------------------------------------------------------------------------------------------------------------"
|
||||
echo ""
|
||||
|
|
@ -62,9 +63,7 @@ build_libndpi() {
|
|||
cd nDPI
|
||||
./autogen.sh
|
||||
./configure CFLAGS="-I/tmp/nfstream_build/usr/local/include" LDFLAGS="-L/tmp/nfstream_build/usr/local/lib" --with-local-libgcrypt
|
||||
cd src/lib
|
||||
make
|
||||
cd ../..
|
||||
echo "---------------------------------------------------------------------------------------------------------------"
|
||||
echo ""
|
||||
}
|
||||
|
|
@ -77,6 +76,7 @@ fi
|
|||
build_libgpgerror
|
||||
build_libgcrypt
|
||||
build_libndpi
|
||||
rm -rf /tmp/nfstream_build
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
2
setup.py
2
setup.py
|
|
@ -78,7 +78,7 @@ class BuildNativeCommand(build_ext):
|
|||
)
|
||||
print(build_script_command)
|
||||
msys2 = shutil.which('msys2')
|
||||
subprocess.check_call([msys2, "-c", build_script_command])
|
||||
subprocess.check_call([msys2, "-c", build_script_command], shell=True)
|
||||
else:
|
||||
subprocess.check_call([str(BUILD_SCRIPT_PATH)], shell=True)
|
||||
# Build engine
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue