18 lines
498 B
Diff
18 lines
498 B
Diff
|
--- 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
|
||
|
|