lvm2: Install devmapper.pc to staging/target pkgconfig directory.
authorMarek Belisko <marek.belisko@open-nandra.com>
Fri, 18 Jan 2013 12:08:46 +0000 (12:08 +0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Sat, 2 Feb 2013 16:42:31 +0000 (17:42 +0100)
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>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/lvm2/lvm2.mk

index 52326eae645f87e0bae36f8f500ae15e09901a6e..f54caa44d486ab3ed356628b137b23b12e42eea2 100644 (file)
@@ -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.