[Pkg-libopendbx-maintainers] Changes in libiodbc2

Maximiliano Curia maxy at gnuservers.com.ar
Sat Jun 8 20:15:24 UTC 2013


¡Hola Scott!

El 2013-06-08 a las 15:06 -0400, Scott Kitterman escribió:
> It looks like that will cause an error with the current packages:
 
> $ find /usr/include /usr/include/iodbc -maxdepth 1 -name sql.h -printf '-I%h\n'
> -I/usr/include
> find: `/usr/include/iodbc': No such file or directory

Ups, you are right, in that case the shell rule can be replaced by:

$(word 1,$(patsubst %/,%,$(addprefix -I,$(dir $(wildcard /usr/include/sql.h /usr/include/iodbc/sql.h)))))

Quite ugly, I know, sorry about that.

> If we have to change it to work with only the new include location, then we 
> might as well just add -l/usr/include/iodbc directly and avoid shelling out to 
> find the sql.h.  Does that make sense?

As I mentioned in the previous mail, libopendbx uses unixodbcby default, and I
hope that iodbc and unixodbc are coinstallable now. Adding
-I/usr/include/iodbc would default to iodbc (if both are installed). So, no I
don't recommend that.

-- 
"If a million people believe a foolish thing, it is still a foolish thing."
-- France's Rule of Folly
Saludos /\/\ /\ >< `/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-libopendbx-maintainers/attachments/20130608/82d6554c/attachment.pgp>


More information about the Pkg-libopendbx-maintainers mailing list