I realised that I had two libjpeg libraries installed: one that was distributed by default and one that was installed with ipkg. The one that was distributed by default (located in /usr/lib/
) did not seem to work for the Pillow installation for an unknown reason. I specified the path of the libjpeg installed by ipkg (EXPORT LIB="/path/to/library/"
).
Now I run into a problem with ccache so haven't reached my goal yet...