]> git.openpandora.org Git - openembedded.git/commitdiff
packages/apr/apr-util: Manually patch the .la file to not reference /usr/lib/FOO...
authorHolger Freyther <zecke@selfish.org>
Thu, 27 Dec 2007 12:46:11 +0000 (12:46 +0000)
committerHolger Freyther <zecke@selfish.org>
Thu, 27 Dec 2007 12:46:11 +0000 (12:46 +0000)
    subversion is still compiling and we have no more references to the workdir!

packages/apr/apr-util_1.2.7.bb

index 70ac239642a305bd2f3f230803ed86b12a88eb1d..904e41f8a3211f976d3d33e4f14b612d64252345 100644 (file)
@@ -25,5 +25,8 @@ do_configure() {
 }
 
 do_stage() {
-       autotools_stage_all
+  autotools_stage_all
+  sed -i s,/usr/lib/libgdbm.la,-lgdbm,g   ${STAGING_LIBDIR}/libaprutil-1.la
+  sed -i s,/usr/lib/libexpat.la,-lexpat,g ${STAGING_LIBDIR}/libaprutil-1.la
+  sed -i s,/usr/lib/libapr-1.la,-lapr-1,g ${STAGING_LIBDIR}/libaprutil-1.la
 }