forced --prefix for travis-ci

Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
This commit is contained in:
Toni Uhlig 2020-11-04 11:46:55 +01:00
parent 97563faaa3
commit 54f6ab2192
No known key found for this signature in database
GPG key ID: 22C5333D922537D2

View file

@ -4,7 +4,7 @@ before_install:
- sudo apt-get install -y build-essential make binutils gcc autoconf automake libtool pkg-config git libpcap-dev libgcrypt-dev libgpg-error-dev libjson-c-dev
script:
- git clone https://github.com/ntop/nDPI.git
- cd nDPI && ./autogen.sh --with-sanitizer --with-only-libndpi && make install DESTDIR="$(realpath ./_install)" && cd ..
- make NDPI_WITH_GCRYPT=yes CUSTOM_LIBNDPI=./nDPI/_install/usr/local/lib/libndpi.a ENABLE_DEBUG=yes ENABLE_SANITIZER=yes all
- cd nDPI && ./autogen.sh --prefix=/usr --with-sanitizer --with-only-libndpi && make install DESTDIR="$(realpath ./_install)" && cd ..
- make NDPI_WITH_GCRYPT=yes CUSTOM_LIBNDPI=./nDPI/_install/usr/lib/libndpi.a ENABLE_DEBUG=yes ENABLE_SANITIZER=yes all
- make clean
- make NDPI_WITH_GCRYPT=yes PKG_CONFIG_BIN=pkg-config PKG_CONFIG_PREFIX=./nDPI/_install/usr/local ENABLE_DEBUG=yes ENABLE_SANITIZER=yes all
- make NDPI_WITH_GCRYPT=yes PKG_CONFIG_BIN=pkg-config PKG_CONFIG_PREFIX=./nDPI/_install/usr ENABLE_DEBUG=yes ENABLE_SANITIZER=yes all