summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHolger Freyther <zecke@selfish.org>2007-12-27 12:46:11 +0000
committerHolger Freyther <zecke@selfish.org>2007-12-27 12:46:11 +0000
commita242fd05d310476b1e6c599ebaeb9e96ae4d1e83 (patch)
treea3e087ff6faa4d6021343dd11cdefb326f4f119f
parent1190d17f949bfc67f82e2f66bf6e43b5c768631d (diff)
packages/apr/apr-util: Manually patch the .la file to not reference /usr/lib/FOO.la but use -lFOO instead
subversion is still compiling and we have no more references to the workdir!
-rw-r--r--packages/apr/apr-util_1.2.7.bb5
1 files changed, 4 insertions, 1 deletions
diff --git a/packages/apr/apr-util_1.2.7.bb b/packages/apr/apr-util_1.2.7.bb
index 70ac239642..904e41f8a3 100644
--- a/packages/apr/apr-util_1.2.7.bb
+++ b/packages/apr/apr-util_1.2.7.bb
@@ -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
}