|
From: Adam W. <awi...@ma...> - 2008-12-23 21:03:01
|
On Mon, 2008-12-22 at 09:25 -0500, Kevin Kenny wrote: > "Should never ever happen, by policy" is too strong a phrase > for what's going on. "Shouldn't happen in a regular old binary > distribution" is closer to the truth. There are a few people > who, for special purposes, build their own applications that > link everything statically. To do this, they configure Tcl > and all needed extensions --disable-shared, and then concoct > a link unit that includes Tcl and all necessary extensions > as static libraries. The only case where <module>_LIB_SPEC > would be needed is to support such a build. It appears that > TEA's configurator fills in <module>_LIB_SPEC in all cases, > but actually tries to build and install the library only in > a --disable-shared build. OK. So, in sum, for a regular distribution, we should put the .la file in /usr/lib , but everything else - the tdbcConfig.sh file and even the .so - can go to /usr/lib/tcl(version)/tdbc(version), and everything normal should work? And I may as well cut the TDBC_LIB_SPEC line out of tdbcConfig.sh entirely as it wouldn't ever be any use in that situation? -- adamw |