From 5e8d5535dcfcb76f7579a8ef631e38788ee5a8a1 Mon Sep 17 00:00:00 2001 From: Richard Fuchs Date: Tue, 7 May 2024 11:25:21 -0400 Subject: [PATCH] MT#55283 honour "nouring" build profile Change-Id: I6f4d5bda6325d1d001a9c0bf6de3627160f50451 --- lib/lib.Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/lib.Makefile b/lib/lib.Makefile index 854a40e223..fd0e4f80fc 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