karalabe / xgo

Go CGO cross compiler
MIT License
2.14k stars 279 forks source link

Ensure time preservation in handling of deps source #195

Open nicklasaven opened 4 years ago

nicklasaven commented 4 years ago

When building dependencies, if timestamps have changed on the files, at least sometimes aclocal and automake will start working. That can be a problem if there is a version mismatch on automake in the Docker image and what was originally used in the dependency.

Then a full new autoreconf is needed, but that require a lot of new logic to handle.

This pull request instead ensures that the timestamps is preserved when unpacking and copying the files