edit builds/unix/config.sub in a way similar to OS Specific Toolchain
Code: Select all
# note that x86_64-orionx-gcc etc. is the name of my toolchain
export DESTDIR=$SYSROOT
./configure --prefix=/usr --host=x86_64-orionx --without-harfbuzz --without-png --without-bzip2 --without-zlib
make
make install
Except when I try to link with it, doing the simplest example from http://www.freetype.org/freetype2/docs/ ... step1.html, ie. just setup an FT_Library object and call FT_Init_FreeType(&library)
Code: Select all
x86_64-orionx-g++ -Wall -O2 -o test test.cpp -lfreetype
test.cpp:(.text.startup+0xa): undefined reference to `FT_Init_FreeType'
collect2: error: ld returned 1 exit status
1. recompiling the thing 23910823 times
2. wrapping the #includes in extern "C"
3. compiling test as a C program
nothing. If anybody is willing to spend some time, the static library is here:
https://drive.google.com/file/d/0BxDNp6 ... sp=sharing
Thank you.
EDIT: I should probably mention that I'm using FreeType 2.5.3 from the website download.