-
Notifications
You must be signed in to change notification settings - Fork 6.4k
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
[icu] Fix osx release only builds #34539
Conversation
ports/icu/portfile.cmake
Outdated
if (NOT DEFINED VCPKG_BUILD_TYPE OR VCPKG_BUILD_TYPE STREQUAL "debug") | ||
set(DEBUG_TRIPLET ${TARGET_TRIPLET}-dbg) | ||
endif() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Setting the variable as before doesn't really break anything, does it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If the variable is set, we will loop over it here and try to fixup rpath on an inexistent file. It's not very self explanatory ... We'd probably better have one list to loop over than two separate variables.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
New version pushed
5edffc9
to
7b752fd
Compare
Compile test pass with following triplets:
|
I think I'm missing some context. Can you explain what these changes do? |
If we only build |
* [icu] Fix osx release only builds * Use list
We don't necessarily build "debug", in case it's not built, avoid looping over this config in https://github.com/microsoft/vcpkg/pull/34539/files#diff-ea2b03d0dcb43b39cfac7b4f96e0ba52a5e4f15c1df6986850e0d52d56229430R94