summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/pkgconfig.bbclass8
-rw-r--r--meta/classes/pkgconfig_stage.bbclass7
2 files changed, 8 insertions, 7 deletions
diff --git a/meta/classes/pkgconfig.bbclass b/meta/classes/pkgconfig.bbclass
index 22a9cd007..84dad76ae 100644
--- a/meta/classes/pkgconfig.bbclass
+++ b/meta/classes/pkgconfig.bbclass
@@ -1,9 +1,3 @@
DEPENDS_prepend = "pkgconfig-native "
-do_stage_append () {
- install -d ${PKG_CONFIG_DIR}
- for pc in `find ${S} -name '*.pc' -type f | grep -v -- '-uninstalled.pc$'`; do
- pcname=`basename $pc`
- cat $pc > ${PKG_CONFIG_DIR}/$pcname
- done
-}
+inherit pkconfig_stage
diff --git a/meta/classes/pkgconfig_stage.bbclass b/meta/classes/pkgconfig_stage.bbclass
new file mode 100644
index 000000000..fae2ee024
--- /dev/null
+++ b/meta/classes/pkgconfig_stage.bbclass
@@ -0,0 +1,7 @@
+do_stage_append () {
+ install -d ${PKG_CONFIG_DIR}
+ for pc in `find ${S} -name '*.pc' -type f | grep -v -- '-uninstalled.pc$'`; do
+ pcname=`basename $pc`
+ cat $pc > ${PKG_CONFIG_DIR}/$pcname
+ done
+}