Browse Source

MT#55283 enable liburing

Change-Id: Ie1d92bced17bd1d8f9c7bc056fef68eb6ac0d9b2
pull/1826/head
Richard Fuchs 2 years ago
parent
commit
c40c117a12
1 changed files with 8 additions and 8 deletions
  1. +8
    -8
      lib/lib.Makefile

+ 8
- 8
lib/lib.Makefile View File

@ -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


Loading…
Cancel
Save