Skip to content

document AutotoolsDeps Windows msvc LINK env fix#4495

Merged
czoido merged 2 commits into
conan-io:develop2from
davidsanfal:docs/pr-20130
Jul 22, 2026
Merged

document AutotoolsDeps Windows msvc LINK env fix#4495
czoido merged 2 commits into
conan-io:develop2from
davidsanfal:docs/pr-20130

Conversation

@davidsanfal

Copy link
Copy Markdown
Contributor

Document AutotoolsDeps Windows msvc LINK env fix.

Docs for conan-io/conan#20130

Comment thread reference/tools/gnu/autotoolsdeps.rst Outdated
accumulate all dependencies information, including transitive dependencies, with flags like ``-I<path>``, ``-L<path>``, etc.

.. important::
On Windows with ``msvc``, ``AutotoolsDeps`` now emits linker flags in ``LINK`` rather than ``LDFLAGS`` so the Autotools wrapper can process the flags correctly.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
On Windows with ``msvc``, ``AutotoolsDeps`` now emits linker flags in ``LINK`` rather than ``LDFLAGS`` so the Autotools wrapper can process the flags correctly.
On Windows with ``msvc``, ``AutotoolsDeps`` now emits linker flags in ``_LINK_`` rather than ``LDFLAGS`` so the Autotools wrapper skips them, and they are directly loaded by the ``cl`` compiler executable.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated

@czoido
czoido merged commit 5a19b60 into conan-io:develop2 Jul 22, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants