Browse Source

openvswitch: fix libunbound dependency check

The ifeq check for CONFIG_OPENVSWITCH_WITH_LIBUNBOUND does not evaluate
correctly within the menuconfig, resulting in libunbound not being
selected, resulting in a failing libunbound.so.8 dependency.

Instead add this condition:dependency in the manner defined in the
OpenWrt developer guide.

Signed-off-by: Matthew Hagan <mathagan@fb.com>
lilik-openwrt-22.03
Matthew Hagan 3 years ago
committed by Yousong Zhou
parent
commit
5ffc45126d
1 changed files with 3 additions and 4 deletions
  1. +3
    -4
      net/openvswitch/Makefile

+ 3
- 4
net/openvswitch/Makefile View File

@ -153,10 +153,9 @@ $(eval $(call OvsKmodPackageTemplate,openvswitch-lisp-intree))
#
ovs_libopenvswitch_title:=Open vSwitch (libopenvswitch.so)
ovs_libopenvswitch_hidden:=1
ovs_libopenvswitch_depends:= +libatomic +libopenssl +!(arc||arceb):libunwind
ifeq ($(CONFIG_OPENVSWITCH_WITH_LIBUNBOUND),y)
ovs_libopenvswitch_depends+=+libunbound
endif
ovs_libopenvswitch_depends:= \
+libatomic +libopenssl +OPENVSWITCH_WITH_LIBUNBOUND:libunbound \
+!(arc||arceb):libunwind
ovs_libopenvswitch_files:=usr/lib/libopenvswitch*.so*
$(eval $(call OvsPackageTemplate,libopenvswitch))


Loading…
Cancel
Save