After configuring with --disable-shared, compilation fails due to missing symbols provided by fontconfig. The config.log file is attached. The resulting error is:
gcc -O2 -pipe -Wl,--export-dynamic tkAppInit.o -L/home/taylor/Source/Tcl-Tk/tk8.6.0/unix -ltk8.6 -L/home/taylor/Source/Tcl-Tk/tcl8.6.0/unix -ltcl8.6 -lpthread -lXft -lX11 -lXss -lXext -ldl -lz -lpthread -lieee -lm \
-Wl,-rpath,/usr/local/lib -o wish
/usr/bin/ld: /home/taylor/Source/Tcl-Tk/tk8.6.0/unix/libtk8.6.a(tkUnixRFont.o): undefined reference to symbol 'FcCharSetDestroy'
/usr/bin/ld: note: 'FcCharSetDestroy' is defined in DSO /usr/lib/libfontconfig.so.1 so try adding it to the linker command line
/usr/lib/libfontconfig.so.1: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
make: *** [wish] Error 1
Editing the Makefile to add "-lfontconfig" to the definition of XFT_LIBS causes it to work.
In a non-static build, everything is fine. This is on Arch Linux, with fontconfig 2.10.2 installed.
./configure --disable-shared