-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Make CFG_LIBDIR configurable #5223
Comments
I'm curious what this would be used for. |
As you mentioned in #5219, distros with multiarch support often put their libs in places like |
assigning bug; change assignment if you disagree |
fix for #6279 #6253 mk: rt.mk regression patch for mingw32 after #6176 currently do not pass optimization option just make it works only mk: target.mk host.mk fix for duplicated rules of mingw32 after #6235 It can be simply fixed with CFG_LIB check whether bin or lib however considering multiple target triples with linux and windows, CFG_LIB needs to configurable #5223 and #5577
I don't think this should block 0.7 -- re-milestone if you disagree, @graydon |
Hi everyone! I tried to fix this with this commit. The problem with the current implementation in Also it overrides the value which could have been set by the user, because it is set after the call to My patch fixes these issue and also make CFG_LIBDIR configurable: I introduced a new variable CFG_LIBDIR_RELATIVE which has the value CFG_LIBDIR has now ( After my patch, let's say someone sets libdir without changing the prefix:
This is because the script is unsure what the name of the library directory (relative to the prefix) is. He also has to change the prefix:
The CFG_LIBDIR_RELATIVE variable then holds If I run configure on my Windows machine without any arguments this will result in the following:
Everything as it should be ;) What do you think? |
Use `try_eval_usize` over `eval_usize` Fixes rust-lang#5223 changelog: Fix ICE in evaluating usizes
Currently CFG_LIBDIR is hard coded. it would be nice if this path could be adjusted using some configure arg.
The text was updated successfully, but these errors were encountered: