Oh, I know why the failure. "generic embedded" does not have 'glib' in
the pkg list.


On 9/9/18, Barry Kauler <[email protected]> wrote:
> Stuck at this one. pkconfig at stage 0 fails, "generic embedded" build
> with uclibc.
>
>  pkg.h:23:18: fatal error: glib.h: No such file or directory
>   #include <glib.h>
>
> pkgconfig.conf has this:
>
> if atstage toolchain; then
>       # no pkg-config itself, so it needs to pick it up the old way
>       export GLIB_CFLAGS="-I$root/include/glib-2.0
> -I$root$libdir/glib-2.0/include"
>       export GLIB_LIBS="-L$root$libdir -Wl,-rpath,$root$libdir -lglib-2.0"
> else
>       hook_add postmake 5 "cp $confdir/profile_d_pkgconfig.sh
> $root/etc/profile.d/pkgconfig"
> fi
>
> ...the "-I$root/include/glib-2.0" is not getting picked up in this uclibc
> build.
>
> Do you know what I need to do to fix 'pkgconfig.conf'?
>



----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[email protected] with a subject of: unsubscribe t2

Reply via email to