Skip building of the static libsensors

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Apr 20, 2009 at 11:22:59AM +0200, Jean Delvare wrote:
> Hi all,
> 
> OpenSuse is apparently getting rid of all static libraries. I tend to
> agree, static libraries are almost always the wrong thing to do (think
> bug fixes and maintenance updates).
> 
> In order to help, I have just modified the libsensors build system to
> make it possible to skip the static library. It is more efficient than
> letting it build and then just not installing it. If you want to skip
> building of the static library, all you have to do is change:
> 
> BUILD_STATIC_LIB := 1
> 
> to
> 
> BUILD_STATIC_LIB := 0
> 
> in the main Makefile. Or alternatively, build with:
> 
> make BUILD_STATIC_LIB=0
> 
> (Then don't forget to also pass this parameter to "make install".)
> 
> I am curious what the policy of other distributions is. If nobody is
> interested in the static library then maybe it would make sense to
> change the default to 0?
> 

Debian still ships both shared and static libraries, but all packages
must link to the shared library. static libraries are reserved for local
use.

-- 
Aurelien Jarno	                        GPG: 1024D/F1BCDB73
aurelien at aurel32.net                 http://www.aurel32.net



[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux