mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-19 15:51:33 +00:00

Through an oversight, we listed librul.a twice when linking libxul: once as part of the "objects" we were linking, and once as a static library. This duplication is unnecessary and would cause problems later when we try to generate librul.a via cargo, as cargo will put it someplace different from where we expect and the two names will conflict. Let's have rules.mk be the single source of truth for how librul.a is named, and then the code to link libxul can simply refer to that name.