summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-06-12 16:02:54 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2009-06-12 16:02:54 +0100
commit83e3a45aad0332915a908d97302dd3442947d335 (patch)
treeca78d120c405e07509f65313081c6b304c7582fe
parent1247e2bba2aa28fac497379b086442babc6c7923 (diff)
downloadopenembedded-core-83e3a45aad0332915a908d97302dd3442947d335.tar.gz
openembedded-core-83e3a45aad0332915a908d97302dd3442947d335.tar.bz2
openembedded-core-83e3a45aad0332915a908d97302dd3442947d335.zip
fontconfig: Stage .pc files
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
-rw-r--r--meta/packages/fontconfig/fontconfig-native_2.6.0.bb2
-rw-r--r--meta/packages/fontconfig/fontconfig_2.6.0.bb2
2 files changed, 4 insertions, 0 deletions
diff --git a/meta/packages/fontconfig/fontconfig-native_2.6.0.bb b/meta/packages/fontconfig/fontconfig-native_2.6.0.bb
index 0b95cf6682..b91e5fbfa7 100644
--- a/meta/packages/fontconfig/fontconfig-native_2.6.0.bb
+++ b/meta/packages/fontconfig/fontconfig-native_2.6.0.bb
@@ -9,4 +9,6 @@ do_stage () {
oe_runmake install
install fc-lang/fc-lang ${STAGING_BINDIR}
install fc-glyphname/fc-glyphname ${STAGING_BINDIR}
+ install -d ${STAGING_LIBDIR}/pkgconfig/
+ install -m 0644 fontconfig.pc ${STAGING_LIBDIR}/pkgconfig/
}
diff --git a/meta/packages/fontconfig/fontconfig_2.6.0.bb b/meta/packages/fontconfig/fontconfig_2.6.0.bb
index 4c0d5e16b5..3a26fd49b4 100644
--- a/meta/packages/fontconfig/fontconfig_2.6.0.bb
+++ b/meta/packages/fontconfig/fontconfig_2.6.0.bb
@@ -44,6 +44,8 @@ do_stage () {
oe_libinstall -so -a -C src libfontconfig ${STAGING_LIBDIR}
install -d ${STAGING_INCDIR}/fontconfig
for i in ${S}/fontconfig/*.h; do install -m 0644 $i ${STAGING_INCDIR}/fontconfig/; done
+ install -d ${STAGING_LIBDIR}/pkgconfig/
+ install -m 0644 fontconfig.pc ${STAGING_LIBDIR}/pkgconfig/
}
BUILD_CFLAGS += " -I${STAGING_INCDIR}/freetype2"