Makefile.autotools.in: fix libtool patching
authorPeter Korsgaard <jacmet@sunsite.dk>
Wed, 30 Dec 2009 12:42:01 +0000 (13:42 +0100)
committerPeter Korsgaard <jacmet@sunsite.dk>
Wed, 30 Dec 2009 12:48:02 +0000 (13:48 +0100)
commit073af428efc21d7717c003e93a098d0767de3b0c
treeebe37b3cdf907cb83d7eecb3e86189e1b95c3008
parentc63c2faf55b2eb53eda67532929f3e35419f8c40
Makefile.autotools.in: fix libtool patching

Fixes two issues with libtool patching:

- It seems like the default value for <package>_LIBTOOL_PATCH only gets
  set AFTER the ifdef check, so the conditional was never taken. Fix it
  by instead checking that it isn't explicitly set to not do the patching
  instead.
- The $i in the libtool patching for loop needed an extra level of escaping
  to work.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/Makefile.autotools.in