build: use a link instead of changing current directory when compiling
authorAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Mon, 25 Jan 2016 00:42:23 +0000 (01:42 +0100)
committerAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Mon, 25 Jan 2016 19:43:34 +0000 (20:43 +0100)
commitb46aae093634271931395d65f422f4b2a23112d3
tree1f7118bfbb0fb1ba4fcbf7caba4caaf9988630b1
parent8b02af1e6fbb0d782f3561afd82f66edc7fa8ae0
build: use a link instead of changing current directory when compiling

If links don't work, fall back to using the full source path as was
previously done.

This should fix build failures with MSVC.

Reviewed-by: Hendrik Leppkes <h.leppkes@gmail.com>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
.gitignore
Makefile
common.mak
configure
library.mak