aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorToni Uhlig <matzeton@googlemail.com>2022-12-26 09:07:57 +0100
committerToni Uhlig <matzeton@googlemail.com>2022-12-26 19:35:12 +0100
commite9443d7618276873f2dbcb2bdffca5d9991c1f84 (patch)
tree16eea1d0623d87b2d809fe8ccbb706cae6c11853 /scripts
parent4e19ab929c4d1866387623135845c1e75004fd07 (diff)
Fix libnDPI build script.
* added ntop Webinar 2022 reference Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/get-and-build-libndpi.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/scripts/get-and-build-libndpi.sh b/scripts/get-and-build-libndpi.sh
index a3c0c52b6..aee11b0e5 100755
--- a/scripts/get-and-build-libndpi.sh
+++ b/scripts/get-and-build-libndpi.sh
@@ -57,9 +57,8 @@ DEST_INSTALL="${DEST_INSTALL:-$(realpath ./install)}"
MAKE_PROGRAM="${MAKE_PROGRAM:-make -j4}"
HOST_ARG="--host=${HOST_TRIPLET}"
./autogen.sh --enable-option-checking=fatal \
- --prefix="${DEST_INSTALL}" --exec-prefix="${DEST_INSTALL}" \
- --includedir="${DEST_INSTALL}/include" --libdir="${DEST_INSTALL}/lib" \
+ --prefix="/" \
--with-only-libndpi ${HOST_ARG} ${ADDITIONAL_ARGS}
-${MAKE_PROGRAM} install
+${MAKE_PROGRAM} install DESTDIR="${DEST_INSTALL}"
rm -f "${LOCKFILE}"