J. Scott Amort wrote:
On Wed, 2004-28-04 at 11:46 -0400, Daniel J Walsh wrote:
>Shared libraries are required to be labeled shlib_t. So in your make
>install you could
>just add
>
>restorecon /usr/local/lib/libfoo.so.0.0.0
>
>
Thanks! I suspect, however, that this will cause problems for anyone
not running an selinux enabled system. Is there a conditional test for
selinux that could also be added to the makefile? Thanks for any info.
Best,
Scott
[ -x /usr/bin/selinuxenabled ] && /usr/bin/selinuxenabled &&
restorecon
/usr/local/lib/libfoo.so.0.0.0