Files
CMake/Source
Đoàn Trần Công Danh 93eb4a7bd1 Ninja: Revert accidental LINK_WHAT_YOU_USE impl for static libraries
In commit d7159f9591, (Ninja: Fix LINK_WHAT_YOU_USE link flag placement,
2021-06-24), we fixed usage of -Wl,--no-as-needed to override
-Wl,--as-needed from LDFLAGS. However, that change also passes
-Wl,--no-as-needed to `ar`, which is incorrect flag for `ar`.

Let's check the target type before passing down the flags.

Fixes: #22487
2021-08-03 11:21:26 -04:00
..
2021-05-26 18:53:40 -04:00
2021-06-07 19:25:33 +00:00
2021-07-27 09:29:13 -04:00
2021-01-13 15:27:49 +01:00
2021-05-11 11:20:04 -04:00
2021-03-13 07:36:07 -05:00
2021-06-07 19:25:33 +00:00
2021-01-08 09:07:18 -05:00