diff options
author | Toni Uhlig <matzeton@googlemail.com> | 2021-06-08 20:52:46 +0200 |
---|---|---|
committer | Toni Uhlig <matzeton@googlemail.com> | 2021-06-08 21:00:18 +0200 |
commit | d3ebb84ce46b613a96e948c20101b76785311fd5 (patch) | |
tree | 09687ee26b4bb0dc5e1b7f8f74ef204f10ed6439 /.travis.yml | |
parent | 7daeee141d235b53b4b3c1b825acaf06a0cf19c9 (diff) |
Fixed broken libnDPI build (BUILD_NDPI=ON) if Ninja used as Generator.
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml index cd401974e..a65e108bf 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,6 +7,8 @@ script: - mkdir build-cmake-submodule && cd build-cmake-submodule && cmake .. -DBUILD_EXAMPLES=ON -DBUILD_NDPI=ON -DENABLE_SANITIZER=ON && make && cd .. - ./test/run_tests.sh ./libnDPI ./build-cmake-submodule/nDPId-test +- if ldd build/nDPId | grep -qoEi libndpi; then + echo 'nDPId linked against a static libnDPI should not contain a shared linked libnDPI.' >&2; false; fi # pkg-config dynamic linked build - mkdir build && cd build && PKG_CONFIG_PATH="$(realpath ../build-cmake-submodule/libnDPI/lib/pkgconfig)" |