Makefile: handle case where LDFLAGS is already defined (in dmake)
This commit is contained in:
parent
7108bbabce
commit
7ae4896703
|
@ -248,7 +248,9 @@ int main(int argc, char **argv)
|
|||
|
||||
fout << "ifeq ($(HAVE_RULES),yes)\n"
|
||||
<< " CXXFLAGS += -DHAVE_RULES\n"
|
||||
<< " ifndef LDFLAGS\n"
|
||||
<< " ifdef LDFLAGS\n"
|
||||
<< " LDFLAGS += -lpcre\n"
|
||||
<< " else\n"
|
||||
<< " LDFLAGS=-lpcre\n"
|
||||
<< " endif\n"
|
||||
<< "endif\n\n";
|
||||
|
|
Loading…
Reference in New Issue