[Issue 6431] [RDMD] Modifying a library doesn't trigger a rebuild
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Dec 7 06:57:58 UTC 2017
https://issues.dlang.org/show_bug.cgi?id=6431
--- Comment #7 from Timothee Cour <timothee.cour2 at gmail.com> ---
also:
when adding `pragma(lib, "foo");` in main.d:
(and s/-Llibfoo.a/-lfoo -L./ to make the build succeed), the dependency on lib
foo will appear in both --makedepend, -deps, -v, and the rebuild will happen.
without `pragma(lib, "foo");` in main.d:
the dependency is not caught even if command line mentions -Llibfoo.a or -lfoo
-L.
Is that desired behavior? requiring pragma(lib) seems less flexible
--
More information about the Digitalmars-d-bugs
mailing list