Use shortened object file names in single-file build mode.
The full path was repeated twice in the object file path, resulting in excessively long paths (and failures on Windows). This change uses just the module name part (i.e. just the file *name* of the D file) and combines the path part as a single crc32 value (e.g. "somemod_0a56fb23.o").
1 parent f38c50f commit 621e2e02ce9621cbc393c69ec92b07bf9e66d089
@Sönke Ludwig Sönke Ludwig authored on 8 Nov 2017
Showing 1 changed file
View
source/dub/generators/build.d