packages/xerces-c:
authorHolger Freyther <zecke@selfish.org>
Fri, 28 Apr 2006 19:45:13 +0000 (19:45 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Fri, 28 Apr 2006 19:45:13 +0000 (19:45 +0000)
Update the oe_libinstall to actually work again.
Use oe_libinstall -C to change the directory before.
The patch is courtsey Crofton and was attached in
#635.

packages/xerces-c/xerces-c_2.6.0.bb

index 4d87b77..1fa986c 100644 (file)
@@ -24,13 +24,13 @@ do_compile () {
 }
 
 do_stage () {
-       oe_libinstall lib/libxerces-c ${STAGING_LIBDIR}
-       oe_libinstall lib/libxerces-depdom ${STAGING_LIBDIR}
+       oe_libinstall -C lib libxerces-c ${STAGING_LIBDIR}
+       oe_libinstall -C lib libxerces-depdom ${STAGING_LIBDIR}
 
        cp -pPR include/xercesc ${STAGING_INCDIR}
 }
 
 do_install () {
-       oe_libinstall lib/libxerces-c ${D}${libdir}
-       oe_libinstall lib/libxerces-depdom ${D}${libdir}
+       oe_libinstall -C lib libxerces-c ${D}${libdir}
+       oe_libinstall -C lib libxerces-depdom ${D}${libdir}
 }