]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/makefile
Replace compare() == 0 checks with this == other checks
[apt.git] / apt-pkg / makefile
index 45dcddfe34371b84ddc6ae298641ca2308a28128..9236f81fbc4cf6cbef0448a6101b6a26d391c2fa 100644 (file)
@@ -12,6 +12,7 @@ include ../buildlib/defaults.mak
 # The library name and version (indirectly used from init.h)
 include ../buildlib/libversion.mak
 
+CXXFLAGS+=-DAPT_PKG_EXPOSE_STRING_VIEW
 LIBRARY=apt-pkg
 MAJOR=$(LIBAPTPKG_MAJOR)
 MINOR=$(LIBAPTPKG_RELEASE)
@@ -25,6 +26,9 @@ endif
 ifeq ($(HAVE_LZMA),yes)
 SLIBS+= -llzma
 endif
+ifeq ($(HAVE_LZ4),yes)
+SLIBS+= -llz4
+endif
 APT_DOMAIN:=libapt-pkg$(LIBAPTPKG_MAJOR)
 
 SOURCE = $(wildcard *.cc */*.cc)