make_makefiles: Configure substitutions are allowed in the top makefile.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alexandre Julliard 2015-11-17 12:45:14 +09:00
parent b54c3811fe
commit a30feab7d7
1 changed files with 1 additions and 1 deletions

View File

@ -202,7 +202,7 @@ sub parse_makefile($)
if (/\@[A-Z_]+\@/) # config.status substitution variable if (/\@[A-Z_]+\@/) # config.status substitution variable
{ {
die "Configure substitution is not allowed in $file"; die "Configure substitution is not allowed in $file" unless $file eq "Makefile";
} }
if (/^\s*(MODULE|IMPORTLIB|TESTDLL|PARENTSRC|APPMODE)\s*=\s*(.*)/) if (/^\s*(MODULE|IMPORTLIB|TESTDLL|PARENTSRC|APPMODE)\s*=\s*(.*)/)
{ {