From: Jean Delvare <khali@linux-fr.org>
To: lm-sensors@vger.kernel.org
Subject: [lm-sensors] Skip building of the static libsensors
Date: Mon, 20 Apr 2009 09:22:59 +0000 [thread overview]
Message-ID: <20090420112259.6f92f332@hyperion.delvare> (raw)
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?
--
Jean Delvare
_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
next reply other threads:[~2009-04-20 9:22 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-20 9:22 Jean Delvare [this message]
2009-04-20 10:08 ` [lm-sensors] Skip building of the static libsensors Hans de Goede
2009-04-20 20:30 ` Aurelien Jarno
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090420112259.6f92f332@hyperion.delvare \
--to=khali@linux-fr.org \
--cc=lm-sensors@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.