Skip to content
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

has_icu.exe requires debug ICU libraries on release build #95

Open
chr-thien opened this issue Jan 9, 2020 · 1 comment
Open

has_icu.exe requires debug ICU libraries on release build #95

chr-thien opened this issue Jan 9, 2020 · 1 comment

Comments

@chr-thien
Copy link

I'm building the release variant of Boost 1.72 using MSVC 14.
I would like to link Regex to ICU.
ICU has standard library names.
ICU release build libraries are located in lib64 subdirectory of ICU_PATH parameter.
There are no debug build libraries of ICU.

b2.exe --reconfigure --prefix=<path> --layout=versioned --with-regex -j4 -sICU_PATH=<path> toolset=msvc-14.0 address-model=64 link=shared runtime-link=shared variant=release inlining=off optimization=off debug-symbols=on install

During release build ICU is not found because it requires debug libraries of ICU to be present.
has_icu.exe is always built as debug variant and therefore wants to link to icuucd, icuind.

The release build should use release libraries of ICU for all targets.

I know there is ICU_ICUUC_NAME for overriding. But when using standard library names the automatic detection should work reliably.

@jzmaddock
Copy link
Collaborator

Moved upstream to Boost.Build.

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

No branches or pull requests

2 participants