Re: Setting LOCALEDIR in libgphoto2
Jim Easterbrook <[email protected]> Thu, 21 Apr 2022 16:57:27 +0100
| Newsgroups | gmane.comp.multimedia.gphoto.devel |
|---|---|
| Message-ID | <[email protected]> |
On 21/04/2022 16:28, Dan Fandrich wrote: > On Thu, Apr 21, 2022 at 04:07:21PM +0100, Jim Easterbrook wrote: >> I assume I can't persuade you to change the libgphoto2 API by adding an >> initialisation function. Is there any chance of making LOCALEDIR settable >> with an environment variable, like CAMLIBS and IOLIBS are? > > In what situation would you need the localedir changed after the library has > been compiled? When distributing a python package that includes the gphoto2 libraries. Python packages are often installed without root privileges and in a user defined directory. -- Jim Easterbrook <http://www.jim-easterbrook.me.uk/>