dmake: New version of TinyXml needs -DTIXML_USE_STL define in linux
This commit is contained in:
parent
ea941adae2
commit
ce862e02aa
2
Makefile
2
Makefile
|
@ -41,7 +41,7 @@ ifndef CXXFLAGS
|
|||
endif
|
||||
|
||||
ifeq ($(HAVE_RULES),yes)
|
||||
CXXFLAGS += -DHAVE_RULES $(shell pcre-config --cflags)
|
||||
CXXFLAGS += -DHAVE_RULES -DTIXML_USE_STL $(shell pcre-config --cflags)
|
||||
ifdef LIBS
|
||||
LIBS += $(shell pcre-config --libs)
|
||||
else
|
||||
|
|
|
@ -290,7 +290,7 @@ int main(int argc, char **argv)
|
|||
}
|
||||
|
||||
fout << "ifeq ($(HAVE_RULES),yes)\n"
|
||||
<< " CXXFLAGS += -DHAVE_RULES $(shell pcre-config --cflags)\n"
|
||||
<< " CXXFLAGS += -DHAVE_RULES -DTIXML_USE_STL $(shell pcre-config --cflags)\n"
|
||||
<< " ifdef LIBS\n"
|
||||
<< " LIBS += $(shell pcre-config --libs)\n"
|
||||
<< " else\n"
|
||||
|
|
Loading…
Reference in New Issue