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 70ac239..904e41f 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
 }