General:
./configure --enable-static --prefix=/usr mkdir SOMEDIR INSTALL_ROOT=SOMEDIR make INSTALL
should simplify the search.
Also, be careful that to obtain an archive without dependencies, you will need all the libgdiplus dependencies available as static archives. If some of them are installed only as shared objects, programs related to your libgdiplus.a will need these .so dependencies at runtime.
user2284570
source share