Skip to content

CFG_LIBDIR specified by target triples in platform.mk - #5577

Closed
yichoi wants to merge 1 commit into
rust-lang:incomingfrom
yichoi:pull-0327-2
Closed

CFG_LIBDIR specified by target triples in platform.mk#5577
yichoi wants to merge 1 commit into
rust-lang:incomingfrom
yichoi:pull-0327-2

Conversation

@yichoi

Copy link
Copy Markdown
Contributor

mk

  • CFG_LIBDIR changed to specify with target triples like CFG_LIB_DIR_$(target), following other naming convention like CFG_SRC_DIR, CFG_LIB_NAME_$(target)

configure :

  • rename ambiguous CFG_LIBDIR to CFG_DEFAULT_LIB_DIR, which is used filesearch.rs.
  • CFG_DEFAULT_LIB_DIR is associated with CFG_LIB_DIR_$(target) in platform.mk

@yichoiyichoi closed this Mar 31, 2013
@yichoi

Copy link
Copy Markdown
ContributorAuthor

discuss later when needed

@yichoi

Copy link
Copy Markdown
ContributorAuthor

referenced from #5223

bors added a commit that referenced this pull request May 7, 2013
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
U007D pushed a commit to U007D/rust-mos that referenced this pull request Aug 21, 2026
5586: Add workaround for changing sysroot paths r=jonas-schievink a=lnicola
Fixesrust-lang#5577
Co-authored-by: Laurențiu Nicola <lnicola@dend.ro>
Sign up for freeto 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.

1 participant

@yichoi