-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Should we map libraries specified on the command line to the current variant? -lgl
to the required variant
#14341
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
This was referenced Jun 2, 2021
sbc100
added a commit
that referenced
this issue
Jun 3, 2021
Normally users don't specify system libraries such as libc or compiler-rt on the command line. However, when they do it makes sense map them to correct variant. For example, linking with `-pthread` + `-lc` will now end up including `libc-mt.a` rather than `libc.a`. Fixes: #14341
sbc100
added a commit
that referenced
this issue
Jun 3, 2021
Normally users don't specify system libraries such as libc or compiler-rt on the command line. However, when they do it makes sense map them to correct variant. For example, linking with `-pthread` + `-lc` will now end up including `libc-mt.a` rather than `libc.a`. Fixes: #14341
sbc100
added a commit
that referenced
this issue
Jun 3, 2021
Normally users don't specify system libraries such as libc or compiler-rt on the command line. However, when they do it makes sense map them to correct variant. For example, linking with `-pthread` + `-lc` will now end up including `libc-mt.a` rather than `libc.a`. Fixes: #14341
sbc100
added a commit
that referenced
this issue
Jun 3, 2021
Normally users don't specify system libraries such as libc or compiler-rt on the command line. However, when they do it makes sense map them to correct variant. For example, linking with `-pthread` + `-lc` will now end up including `libc-mt.a` rather than `libc.a`. Fixes: #14341
sbc100
added a commit
that referenced
this issue
Jun 3, 2021
Normally users don't specify system libraries such as libc or compiler-rt on the command line. However, when they do it makes sense map them to correct variant. For example, linking with `-pthread` + `-lc` will now end up including `libc-mt.a` rather than `libc.a`. Fixes: #14341
sbc100
added a commit
that referenced
this issue
Jun 4, 2021
Normally users don't specify system libraries such as libc or compiler-rt on the command line. However, when they do it makes sense map them to correct variant. For example, linking with `-pthread` + `-lc` will now end up including `libc-mt.a` rather than `libc.a`. Fixes: #14341
sbc100
added a commit
that referenced
this issue
Jun 4, 2021
Normally users don't specify system libraries such as libc or compiler-rt on the command line. However, when they do it makes sense map them to correct variant. For example, linking with `-pthread` + `-lc` will now end up including `libc-mt.a` rather than `libc.a`. Fixes: #14341
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If user specifies
-lc
on the command line should we map that to-lc-mt
to according to the variant naming scheme intools/system_libraries.py
. I tend to think that we should.This will allow things like
-GL
to map tolibGL-mt-emu.a
automatically.The text was updated successfully, but these errors were encountered: