package/efl: add libunwind optional dependency
authorRomain Naour <romain.naour@gmail.com>
Sun, 16 Apr 2017 19:49:05 +0000 (21:49 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 17 Apr 2017 13:08:12 +0000 (15:08 +0200)
There is no configure option to enable/disable libunwind support.
See efl/m4/efl_libunwind.m4

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/efl/efl.mk

index 4008d30a86041e5a756875226a7b89649062b9b0..04e15f5092f6aba9c4ce9d630f71fef9bd081b17 100644 (file)
@@ -293,6 +293,10 @@ endef
 EFL_POST_INSTALL_TARGET_HOOKS = EFL_HOOK_REMOVE_UPOWER
 endif
 
+ifeq ($(BR2_PACKAGE_LIBUNWIND),y)
+EFL_DEPENDENCIES += libunwind
+endif
+
 $(eval $(autotools-package))
 
 ################################################################################