[PATCH] pkgconf: disable building shared libraries

Rosen Penev rosenp at gmail.com
Mon Dec 28 18:34:22 EST 2020


On Mon, Dec 28, 2020 at 1:49 PM Hauke Mehrtens <hauke at hauke-m.de> wrote:
>
> On 12/25/20 2:01 AM, Rosen Penev wrote:
> > pkgconf uses libpkgconf. disabling shared libraries makes it be linked
> > statically. Helps to avoid issues regarding finding the library with a
> > wrong rpath. Nothing uses libpkgconf anyway.
> >
> > Signed-off-by: Rosen Penev <rosenp at gmail.com>
>
> Should this fix the build problem with the glibc SDK on ARC HS CPUs?
> https://downloads.openwrt.org/snapshots/faillogs/arc_archs/base/libubox/host-compile.txt
Yes. Although only one of them.
>
> Your change look more like a workaround to me, I would prefer if we find
> the root cause and fix that. I tried to reproduce this locally, but for
> me it worked, but I do not know exactly how the build bot uses the SDK.
Root cause seems to be bundle-libraries.sh.

I still think this change is correct. Less linking is always good.
>
> Hauke
>



More information about the openwrt-devel mailing list