2017-08-30 18:35 GMT+03:00 Tim Rühsen <tim.rueh...@gmx.de>: > On 08/30/2017 01:55 PM, Dmitry Eremin-Solenikov wrote: >> Package: libidn2-dev >> Version: 2.0.2-3 >> Severity: normal >> >> Hi, >> >> libidn2.pc includes -R option in Libs.private section of the file. It >> does not make sense, especially because this option points to the >> standard libaries dir (/usr/lib/x86_64-linux-gnu/ in my case). Could you >> please strip that option? >> > > I can't remember that we recently changed libidn2.pc.in. > > The current libidn2.pc.in looks like: > > prefix=@prefix@ > exec_prefix=@exec_prefix@ > includedir=@includedir@ > libdir=@libdir@ > > Name: libidn2 > Description: Library implementing IDNA2008 and TR46 > Version: @PACKAGE_VERSION@ > Cflags: -I${includedir} > Libs: -L${libdir} -lidn2 > Libs.private: @LTLIBICONV@ @LTLIBUNISTRING@ > > > How does the -R come into your .pc file ?
Probably from LTLIBUNISTRING. See: $ cat /usr/lib/x86_64-linux-gnu/pkgconfig/libidn2.pc prefix=/usr exec_prefix=${prefix} includedir=${prefix}/include libdir=${prefix}/lib/x86_64-linux-gnu Name: libidn2 Description: Library implementing IDNA2008 and TR46 Version: 2.0.2 Cflags: -I${includedir} Libs: -L${libdir} -lidn2 Libs.private: -L/usr/lib/x86_64-linux-gnu -lunistring -R/usr/lib/x86_64-linux-gnu -- With best wishes Dmitry