diff --git a/lib/lib.Makefile b/lib/lib.Makefile index 854a40e22..fd0e4f80f 100644 --- a/lib/lib.Makefile +++ b/lib/lib.Makefile @@ -46,6 +46,7 @@ LDLIBS+= $(shell pkg-config --libs libsystemd) endif # look for liburing +ifeq (,$(filter pkg.ngcp-rtpengine.nouring,${DEB_BUILD_PROFILES})) ifeq ($(shell pkg-config --exists liburing && echo yes),yes) have_liburing := yes endif @@ -54,6 +55,7 @@ CFLAGS+= $(shell pkg-config --cflags liburing) CFLAGS+= -DHAVE_LIBURING LDLIBS+= $(shell pkg-config --libs liburing) endif +endif ifeq ($(DBG),yes) CFLAGS+= -D__DEBUG=1