Browse Source

MT#55283 use minimum version requirement for uring

Don't just check for the existence of liburing during compilation, but
also check for the version, as we require at least version 2.3 and
builds fail with an older version.

Change-Id: If04d532a847c717fd80f326e46376cbbdc663086
rfuchs/dataport
Richard Fuchs 2 years ago
parent
commit
cbb8d3146c
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      lib/lib.Makefile

+ 1
- 1
lib/lib.Makefile View File

@ -47,7 +47,7 @@ endif
# look for liburing # look for liburing
ifeq (,$(filter pkg.ngcp-rtpengine.nouring,${DEB_BUILD_PROFILES})) ifeq (,$(filter pkg.ngcp-rtpengine.nouring,${DEB_BUILD_PROFILES}))
ifeq ($(shell pkg-config --exists liburing && echo yes),yes)
ifeq ($(shell pkg-config --atleast-version=2.3 liburing && echo yes),yes)
have_liburing := yes have_liburing := yes
endif endif
ifeq ($(have_liburing),yes) ifeq ($(have_liburing),yes)


Loading…
Cancel
Save