tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

glib-2.60.x is missing -Wl,-R${libdir} in glib-2.0.pc (Re: pkg-conf --libs x11



Thanks maya, now I understand my issue is on glib2 side.
I have two situation,

1. outside of chroot glib2-2.56.2nb3  -> OK
2.  inside of chroot glib2-2.60.3     -> NG

and compare glib-2.0.pc
   --------------------------
   pkgsrc@makoto 06:08:35/190616(..x11/xicc)% \
   diff -u             /usr/pkg/lib/pkgconfig/glib-2.0.pc \
         /export/CHROOT/usr/pkg/lib/pkgconfig/glib-2.0.pc  |grep Libs.
   -Libs: -Wl,-R${libdir} -L${libdir} -lglib-2.0 -lintl  
   -Libs.private:  -pthread   -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lpcre -lintl     
   +Libs: -lintl -L${libdir} -lglib-2.0
   +Libs.private: -pthread
   --------------------------

Please watch the line from above diff:
   -Libs: -Wl,-R${libdir} -L${libdir} -lglib-2.0 -lintl  
   +Libs:          -lintl -L${libdir} -lglib-2.0

2.60.3 is missing the part
      -Wl,-R${libdir}

I've checked glib2-2.60.4, but seems the same as 2.60.4
Thank you,
-- 
Makoto Fujiwara
mef%NetBSD.org@localhost
makoto%if.t.u-tokyo.ac.jp@localhost
Key fingerprint = 0BFA FAEB EAD1 90BA 7498  8F85 6809 9E0B B7EF A12E


Home | Main Index | Thread Index | Old Index