meta-ros/recipes-sca/cppcheck/files/0002-pkgconfig-instaed-of-p...

18 lines
498 B
Diff
Raw Normal View History

--- a/Makefile
+++ b/Makefile-1
@@ -94,11 +94,11 @@
endif
ifeq ($(HAVE_RULES),yes)
- override CXXFLAGS += -DHAVE_RULES -DTIXML_USE_STL $(shell pcre-config --cflags)
+ override CXXFLAGS += -DHAVE_RULES -DTIXML_USE_STL $(shell pkg-config libpcre --cflags)
ifdef LIBS
- LIBS += $(shell pcre-config --libs)
+ LIBS += $(shell pkg-config libpcre --libs)
else
- LIBS=$(shell pcre-config --libs)
+ LIBS=$(shell pkg-config libpcre --libs)
endif
endif