Skip to content

Commit

Permalink
MT#55283 honour "nouring" build profile
Browse files Browse the repository at this point in the history
Change-Id: I6f4d5bda6325d1d001a9c0bf6de3627160f50451
  • Loading branch information
rfuchs committed May 11, 2024
1 parent 539c2a7 commit 5e8d553
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/lib.Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 5e8d553

Please sign in to comment.