On 15 May 2013 01:01, Alexey Melnichuk <mi...@newmail.ru> wrote:
> Hisham <h <at> hisham.hm> writes:
>
>>
>> On 14 May 2013 00:47, Alexey Melnichuk <mimir <at> newmail.ru> wrote:
>>
>> Ok. For reference, I have libiodbc installed in my system.
>>
> To compile with iODBC just need define SQL_CONVERT_GUID and SQL_CVT_GUID.

This could be done in the source with proper #ifdef's, I suppose?

> But how i showld write rockspec? When i use unixodbc i need link with `odbc`
> library,
> but when i use iODBC i need link with `iodbc` library?
> Or i just should use 2 rockspec - ...-1.rockspec and ...-iodbc1.rockspec.

libiodbc includes a libodbc.so as well, so linking 'odbc' is fine.

-- Hisham
http://hisham.hm/

------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________
Luarocks-developers mailing list
Luarocks-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/luarocks-developers

Reply via email to