Skip to content
Snippets Groups Projects
Commit fa48be9b authored by Martin Storsjö's avatar Martin Storsjö
Browse files

configure: Don't use symlinks for creating the out of tree makefile


On some platforms (such as msys), symlinks are (poorly) emulated
by simply creating a copy of the file.

This means that when building out of tree, the build tree gets
a copy of the original makefile, which can lead to unintuitive
build errors when the original makefile gets updated later.

Instead simply create a stub makefile which includes the real
one.

Signed-off-by: default avatarMartin Storsjö <martin@martin.st>
parent 16e7b189
No related branches found
No related tags found
No related merge requests found
...@@ -4174,7 +4174,7 @@ echo "License: $license" ...@@ -4174,7 +4174,7 @@ echo "License: $license"
echo "Creating config.mak and config.h..." echo "Creating config.mak and config.h..."
test -e Makefile || $ln_s "$source_path/Makefile" . test -e Makefile || echo "include $source_path/Makefile" > Makefile
config_files="$TMPH config.mak" config_files="$TMPH config.mak"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment