pkg-autotools: commonalise the libtool patching code
authorJohan Oudinet <johan.oudinet@gmail.com>
Wed, 12 Nov 2014 00:25:49 +0000 (01:25 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 22 Nov 2014 19:35:04 +0000 (20:35 +0100)
commitf2d0052f3b665d60302c95a9e0eb98741f17b3f2
tree800a1f6a5d72abaffd43d3627ff67aa6679ee3d7
parent59c647e37ddff902259f4165140928011114994f
pkg-autotools: commonalise the libtool patching code

Currently, the heuristic to patch libtool scripts is duplicated both in
the libtool post-patch hook and the autoreconf pre-configure hook.

Move that code into a single function that gets called from both hooks.

[Thomas: change back the author to Johan. Yann mistakenly changed it
when submitting the patch series.]

Signed-off-by: Johan Oudinet <johan.oudinet@gmail.com>
[yann.morin.1998@free.fr: split the patch into semantically separate
patches]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/pkg-autotools.mk