Patchwork [4/6] lvm2: Install devmapper.pc to staging/target pkgconfig directory.

login
register
mail settings
Submitter Marek Belisko
Date Dec. 21, 2012, 9:51 p.m.
Message ID <1356126670-16186-5-git-send-email-marek.belisko@open-nandra.com>
Download mbox | patch
Permalink /patch/207890/
State Superseded
Headers show

Comments

Marek Belisko - Dec. 21, 2012, 9:51 p.m.
Without this change if some package which have dependency on device mapper and use
pkgconfig to check version always fail to find library because devmapper.pc file wasn't
installed.

Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
---
 package/lvm2/lvm2.mk |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/package/lvm2/lvm2.mk b/package/lvm2/lvm2.mk
index 52326ea..f54caa4 100644
--- a/package/lvm2/lvm2.mk
+++ b/package/lvm2/lvm2.mk
@@ -21,7 +21,7 @@  LVM2_BINS = \
 
 # Make sure that binaries and libraries are installed with write
 # permissions for the owner.
-LVM2_CONF_OPT += --enable-write_install
+LVM2_CONF_OPT += --enable-write_install --enable-pkgconfig
 
 # LVM2 uses autoconf, but not automake, and the build system does not
 # take into account the CC passed at configure time.