wrong library names in pkg-config .pc files (ICU 64 and 65)

Description

Hello

I am compiling on Windows (MSYS2 + mingw-w64) and i've remarked that
the pc files are not correctly generated :

they have the suffix 65 (for icu 65.1) but the import libraries are named without the sufi. For example :

icu-uc.pc contains :

Libs: -L${libdir} -licuuc65 -licudt65

but the import libraries are
libicudt.dll.a
libicuuc.dll.a

hence an error when linking (the linker can not find libicudt65.dll.a and libicuuc65.dll.a)

Vincent Torri

Activity

Show:
Jeff Genovy
February 19, 2020, 10:59 PM

PR:

Fixed in the upcoming ICU 67.1

Jeff Genovy
February 19, 2020, 10:59 PM

FYI, I’m going to re-assign this ticket to myself.

Vincent Torri
February 13, 2020, 12:24 PM

Vincent Torri
October 2, 2019, 6:48 PM

should I change the names of the import libraries or the pc files ?

My opinion is that pc files should be changed as import libraries are usually not versioned. But I would like to have your opinion.

 

Steven R. Loomis
October 2, 2019, 5:50 PM

would you be able to create a PR?

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

Assignee

Jeff Genovy

Reporter

Vincent Torri

Components

Labels

Reviewer

Axel Andrejs

Priority

minor

Time Needed

Minutes

Fix versions