libtool and suncc -shared

I notice GNU libtool (libtool.m4 serial 47 AC_PROG_LIBTOOL) does not recognize suncc on Linux. The generated libtool script contains pic_flag=-DPIC instead of the correct pic_flag=-Kpic. What would be the best strategy to correct this problem?

This manifests itself with the following message when building a shared library

/usr/bin/ld: ...: relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC

[475 byte] By [sinyseea] at [2007-11-15]