Ticket #174 (new enhancement)

Opened 6 months ago

Last modified 6 months ago

Use LIBDIR to choose default driver-dir in daemon.c

Reported by: silfreed Owned by: jdunn
Priority: low Component: Software
Version: Severity: normal
Keywords: 1.0pre2 Cc:

Description

It would be nice to use the LIBDIR that iguanaIR is configured with as the default option for driver-dir so it doesn't need to be specified in the OPTIONS in the startup script. This will make packaging easier between i686/x86_64.

Change History

Changed 6 months ago by jdunn

  • priority changed from normal to low

Thanks for the input.

Actually, this has been implemented in SVN by locating the libiguanaIR.so (or dll) at run time and looking in that directory using /proc/self in Linux and GetModuleHandle in Windows. The findDriverDir function currently defined in driver.c will need to be implemented on OSX, but the code works for Linux and Windows. I'll leave this open until the next release as a reminder for the OS X, but drop the priority.

Note: See TracTickets for help on using tickets.