From fff6808b9c01d09cb9e79cfbb1e952574a36a3df Mon Sep 17 00:00:00 2001 From: Hua Liu <58683130+liuh-80@users.noreply.github.com> Date: Mon, 24 Oct 2022 13:03:52 +0800 Subject: [PATCH] [openssh] Update openssh make file, add missing dependency to libnl. (#12327) Update openssh make file, add missing dependency to libnl. #### Why I did it Openssh indirectly depends on libnl. Another PR #12447 need add new patch to openssh, after adding new patch to openssh, PR build failed with libnl missing error. #### How I did it Update openssh make file, add missing dependency to libnl. #### How to verify it Pass all test case #### Which release branch to backport (provide reason below if selected) - [ ] 201811 - [ ] 201911 - [ ] 202006 - [ ] 202012 - [ ] 202106 - [ ] 202111 - [ ] 202205 #### Description for the changelog Update openssh make file, add missing dependency to libnl. #### Ensure to add label/tag for the feature raised. example - PR#2174 under sonic-utilities repo. where, Generic Config and Update feature has been labelled as GCU. #### Link to config_db schema for YANG module changes #### A picture of a cute animal (not mandatory but encouraged) --- rules/openssh.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/rules/openssh.mk b/rules/openssh.mk index 53438b76ab73..a5e4b5c4b7b0 100644 --- a/rules/openssh.mk +++ b/rules/openssh.mk @@ -6,6 +6,7 @@ export OPENSSH_VERSION OPENSSH_SERVER = openssh-server_$(OPENSSH_VERSION)_$(CONFIGURED_ARCH).deb $(OPENSSH_SERVER)_SRC_PATH = $(SRC_PATH)/openssh +$(OPENSSH_SERVER)_DEPENDS += $(LIBNL3_DEV) $(LIBNL_ROUTE3_DEV) SONIC_MAKE_DEBS += $(OPENSSH_SERVER) # The .c, .cpp, .h & .hpp files under src/{$DBG_SRC_ARCHIVE list}