Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 196983 Details for
Bug 270350
sys-fs/device-mapper, sys-fs/lvm2: need to install pkgconfig files
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix Libs.private for libdevmapper.pc.in
lvm2-fix-devmapper-pkgconfig-file.patch (text/plain), 1.36 KB, created by
Nirbheek Chauhan (RETIRED)
on 2009-07-07 03:20:04 UTC
(
hide
)
Description:
Fix Libs.private for libdevmapper.pc.in
Filename:
MIME Type:
Creator:
Nirbheek Chauhan (RETIRED)
Created:
2009-07-07 03:20:04 UTC
Size:
1.36 KB
patch
obsolete
>libdevmapper.so doesn't link to SELinux libraries unless SELinux is enabled. >Adding those libraries to Libs.private unconditionally is wrong. > >See bug 270350 >--- >--- LVM2.2.02.48/configure.in >+++ LVM2.2.02.48/configure.in >@@ -558,18 +558,19 @@ > if test x$HAVE_SEPOL = xyes; then > AC_DEFINE([HAVE_SEPOL], 1, > [Define to 1 if sepol_check_context is available.]) >- LIBS="-lsepol $LIBS" >+ SELINUX_LIBS="-lsepol $SELINUX_LIBS" > fi > > AC_CHECK_LIB(selinux, is_selinux_enabled, HAVE_SELINUX=yes, HAVE_SELINUX=no) > > if test x$HAVE_SELINUX = xyes; then > AC_DEFINE([HAVE_SELINUX], 1, [Define to 1 to include support for selinux.]) >- LIBS="-lselinux $LIBS" >+ SELINUX_LIBS="-lselinux $SELINUX_LIBS" > else > AC_MSG_WARN(Disabling selinux) > fi > >+ LIBS="$SELINUX_LIBS $LIBS" > # With --enable-static_link and selinux enabled, linking > # fails on at least Debian unstable due to unsatisfied references > # to pthread_mutex_lock and _unlock. See if we need -lpthread. >@@ -813,6 +814,7 @@ > AC_SUBST(POOL) > AC_SUBST(QUORUM_CFLAGS) > AC_SUBST(QUORUM_LIBS) >+AC_SUBST(SELINUX_LIBS) > AC_SUBST(SNAPSHOTS) > AC_SUBST(STATICDIR) > AC_SUBST(STATIC_LINK) >--- LVM2.2.02.48/libdm/libdevmapper.pc.in >+++ LVM2.2.02.48/libdm/libdevmapper.pc.in >@@ -8,4 +8,4 @@ > Version: @DM_LIB_PATCHLEVEL@ > Cflags: -I${includedir} > Libs: -L${libdir} -ldevmapper >-Libs.private: -lselinux -lsepol >+Libs.private: @SELINUX_LIBS@
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 270350
: 196983