freetype-config uses the crossdev $SYSROOT environment variable for path. this caused a configuration error of media-libs/ftgl freetype-config does not provide -I/usr/include/harfbuzz as pkg-config does ? " asus bin # freetype-config --cflags -I/usr/armv5tel-softfloat-linux-gnueabi/usr/include/freetype2 asus ~ # pkg-config --cflags freetype2 -I/usr/include/freetype2 -I/usr/include/harfbuzz asus bin # echo $SYSROOT /usr/armv5tel-softfloat-linux-gnueabi asus bin # SYSROOT= asus bin # freetype-config --cflags -I/usr/include/freetype2 "
(In reply to brandur.simonsen from comment #0) > freetype-config uses the crossdev $SYSROOT environment variable for path. > this caused a configuration error of media-libs/ftgl what is the exact problem ? > freetype-config does not provide -I/usr/include/harfbuzz as pkg-config does ? > > " > asus bin # freetype-config --cflags > -I/usr/armv5tel-softfloat-linux-gnueabi/usr/include/freetype2 this seems like the correct behavior, if you cross-compile and use headers from / you'll have problems.