[freetds] ct-lib unit tests link statically

ZIGLIO, Frediano, VF-IT Frediano.Ziglio at vodafone.com
Mon Jul 7 05:28:48 EDT 2008


> 
> I noticed the ct-lib unit tests were linking to the installed shared
> object.  That's not optimal behavior; it's nice to run the unit tests
> before installing.  Now they link statically to the 
> uninstalled libct.a.  
> 
> Enjoy.  
> 

On Linux ctlib unitests now don't compile:

../.libs/libct.a(util.o): In function `tds_gettime_ms':
/home/freddy/cpp/freetds/freetds83/src/tds/util.c:216: undefined reference to
`clock_gettime'

freddy77
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3129 bytes
Desc: not available
Url : http://lists.ibiblio.org/pipermail/freetds/attachments/20080707/152d1f35/attachment.bin 


More information about the FreeTDS mailing list