[oe-commits] org.oe.dev packages/apr/apr-util: Manually patch the .la file to not reference /usr/lib/FOO.la but use -lFOO instead

freyther commit openembedded-commits at lists.openembedded.org
Thu Dec 27 13:05:19 UTC 2007


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!

Author: freyther at openembedded.org
Branch: org.openembedded.dev
Revision: 1b7a0ce636b3aecd3b458daaf269477093c9ffca
ViewMTN: http://monotone.openembedded.org/revision/info/1b7a0ce636b3aecd3b458daaf269477093c9ffca
Files:
1
packages/apr/apr-util_1.2.7.bb
Diffs:

#
# mt diff -rdcf75f3b4c747e24e1f3a214cce4b36952e13c4a -r1b7a0ce636b3aecd3b458daaf269477093c9ffca
#
# 
# 
# patch "packages/apr/apr-util_1.2.7.bb"
#  from [fc4146ec87507f2c3abb90543a60a12b73bb9799]
#    to [662620cf3dc2aeaff4ac4ed3b34ed9acd9d2a39a]
# 
============================================================
--- packages/apr/apr-util_1.2.7.bb	fc4146ec87507f2c3abb90543a60a12b73bb9799
+++ packages/apr/apr-util_1.2.7.bb	662620cf3dc2aeaff4ac4ed3b34ed9acd9d2a39a
@@ -25,5 +25,8 @@ do_stage() {
 }
 
 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
 }






More information about the Openembedded-commits mailing list