Hello,
        I have added DirectFB to the uclibc buildroot system. It is almost all
working (I also added freetype2 and the some other dependancies like
libpng). Anyway, on to the problem. During the build I pass it cflags
and ldflags to find the crosscompiled build of freetype2. It does that,
however when linking it is taking the information from freetype-config
which is found in both the buildhost system and the cross compiled
filesystem being created. The problem that runs into is that it all
compiles fine, but then when linking fails as freetype-config
returns /usr/lib instead of where the new freetype libs are built with
the same toolchain.


The freetype-config file has an option to pass it a PREFIX directory for
what I imagine is cases like this. However I need a good way of making
DirectFB pass these to the freetype-config program. I'm imagining the
best way to do this is to add it to configure as --with-freetype2-prefix
or --with-freetype2-config-prefix. Though competent with programming and
the like, I've never modified a configure script, but know enough that
it is generated from configure.in. So I need to be able to tell it which
freetype-config to use (which I *think* is happening when I tell it
where to look with -I..., but wonder if that affects where DirectFB
looks for freetype-config).

Pointers on where to start to make this happen? As well as feedback as
to whether you even want to see the patch to integrate back into DFB or
not etc...


-- 
Nathanael D. Noblet
Gnat Solutions, Inc
http://www.gnat.ca/
T 250.385.4613
C 250.383.4613


_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to