diff options
author | Reinhard Tartler <siretart@tauware.de> | 2020-01-19 11:22:24 -0500 |
---|---|---|
committer | Reinhard Tartler <siretart@tauware.de> | 2020-01-19 11:22:24 -0500 |
commit | 5f93f6f5f30e22d618c51f3b359d48b1bb5d5dff (patch) | |
tree | e68e31e3a90ccd7a60639d884a39c2025c98844e | |
parent | 5a0c091e9539b7567fc97cd726074ffc6133ebe3 (diff) |
Use pkg-config to locate libxml2
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=949053
Gbp-Pq: Name pkgconfig.patch
-rw-r--r-- | AspectC++/ACModel/Makefile | 2 | ||||
-rw-r--r-- | AspectC++/Makefile | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/AspectC++/ACModel/Makefile b/AspectC++/ACModel/Makefile index 8f6a160..edb05d0 100644 --- a/AspectC++/ACModel/Makefile +++ b/AspectC++/ACModel/Makefile @@ -16,7 +16,7 @@ include $(PUMA)/vars.mk ifeq ($(_TARGET),win32) LIBXML2_INC := `mingw32-xml2-config --cflags` else - LIBXML2_INC := `xml2-config --cflags` + LIBXML2_INC := `pkg-config --cflags libxml-2.0` endif CPPFLAGS += -I$(PUMA)/extern $(LIBXML2_INC) diff --git a/AspectC++/Makefile b/AspectC++/Makefile index 44bf49a..3e54764 100644 --- a/AspectC++/Makefile +++ b/AspectC++/Makefile @@ -26,8 +26,8 @@ ifneq ($(filter win%,$(TARGET)),) endif # libxml2 settings -LIBXML2_INC := `xml2-config --cflags` -LIBXML2_LIB := `xml2-config --libs` +LIBXML2_INC := `pkg-config --cflags libxml-2.0` +LIBXML2_LIB := `pkg-config --libs libxml-2.0` # Check Clang version and define all necessary symbols (LLVM_*) ifneq ($(MAKECMDGOALS),clean) |