X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/e3fbd54cee3fffecbf4f7c384e0aad715fc68218..529bf9b00dfd3c0472d77e9515007e52a3557bc4:/apt-pkg/makefile diff --git a/apt-pkg/makefile b/apt-pkg/makefile index f4e750d34..e3e6e202e 100644 --- a/apt-pkg/makefile +++ b/apt-pkg/makefile @@ -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) @@ -30,7 +31,7 @@ SLIBS+= -llz4 endif APT_DOMAIN:=libapt-pkg$(LIBAPTPKG_MAJOR) -SOURCE = $(wildcard *.cc */*.cc) -HEADERS = $(addprefix apt-pkg/,$(notdir $(wildcard *.h */*.h))) +SOURCE = $(sort $(wildcard *.cc */*.cc)) +HEADERS = $(addprefix apt-pkg/,$(notdir $(sort $(wildcard *.h */*.h)))) include $(LIBRARY_H)