MSYS2 + mingw-w64 : wrong installation path of DLL

Description

Hello

I've just compiled ICU4C (with a bug fix, see
https://github.com/jefgen/icu/compare/master...jefgen:jefgen/msys-build-failure)
and i see that *.dll and *.dll.a (the import libs) are all installed in $prefix/lib. It is usually wrong to do that : all the *.exe binaries are in $prefix/bin. When run, they will look at the needed DLL in their directory ($prefix/bin), then in $PATH. So the binaries will not find the DLL (except if PATH is updated, which should not be done).

What is very commonly done is installing the DLL in $prefix/bin and letting *.dll.a in $prefix/lib. Doing so, one will be able to run directly the binaries without updating PATH.

Can this be fixed ?

thank you

Vincent Torri

Activity

Show:
Vincent Torri
February 13, 2020, 5:26 AM

fixed and merged in master

Vincent Torri
February 13, 2020, 5:25 AM

merge in master, closing

Vincent Torri
December 13, 2019, 9:46 PM

see

Vincent Torri
July 31, 2019, 12:16 PM

so, do you agree with this idea ?

Vincent Torri
March 14, 2019, 6:34 PM

if you agree with this idea, i can make a PR

Fixed
Your pinned fields
Click on the next to a field label to start pinning.

Assignee

Jeff Genovy

Reporter

Vincent Torri

Components

Priority

assess

Fix versions