maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   [M5] How to deploy new path of optified library? (https://talk.maemo.org/showthread.php?t=98725)

Halftux 2017-01-11 13:28

How to deploy new path of optified library?
 
I would like to compile a library and make an optified maemo debian package.

So I used the --prefix=/opt
But I guess I also need to change the ld.so.conf to avoid making symlinks and that still the library can be found.

How could I add a new path to ld.so.conf with a postinst script and how could I remove the path with a postrm script?

Please point me to the right direction or explain me the best way to optify a library package.
In the past I uploaded a library to the autobuilder and I remember to optify it with symlinks. But I have the feeling that this is not the cleanest way.


All times are GMT. The time now is 08:23.

vBulletin® Version 3.8.8