Skip to content

Commit

Permalink
MT#55283 enable liburing
Browse files Browse the repository at this point in the history
Change-Id: Ie1d92bced17bd1d8f9c7bc056fef68eb6ac0d9b2
  • Loading branch information
rfuchs committed May 7, 2024
1 parent 649485f commit c40c117
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions lib/lib.Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,14 @@ LDLIBS+= $(shell pkg-config --libs libsystemd)
endif

# look for liburing
#ifeq ($(shell pkg-config --exists liburing && echo yes),yes)
#have_liburing := yes
#endif
#ifeq ($(have_liburing),yes)
#CFLAGS+= $(shell pkg-config --cflags liburing)
#CFLAGS+= -DHAVE_LIBURING
#LDLIBS+= $(shell pkg-config --libs liburing)
#endif
ifeq ($(shell pkg-config --exists liburing && echo yes),yes)
have_liburing := yes
endif
ifeq ($(have_liburing),yes)
CFLAGS+= $(shell pkg-config --cflags liburing)
CFLAGS+= -DHAVE_LIBURING
LDLIBS+= $(shell pkg-config --libs liburing)
endif

ifeq ($(DBG),yes)
CFLAGS+= -D__DEBUG=1
Expand Down

0 comments on commit c40c117

Please sign in to comment.