autotools: fix referencing to LIBTOOL_PATCH variable

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
Thomas Petazzoni 2010-04-28 23:40:47 +02:00 committed by Peter Korsgaard
parent 593c18c0bb
commit 87d0af93d4

View file

@ -152,7 +152,7 @@ define LIBTOOL_PATCH_HOOK
endef
# default values are not evaluated yet, so don't rely on this defaulting to YES
ifneq ($($(2)_LIBTOOL_PATCH),NO)
ifneq ($$($(2)_LIBTOOL_PATCH),NO)
$(2)_POST_PATCH_HOOKS += LIBTOOL_PATCH_HOOK
endif