stx-ha: add missing dependency in Makefile for libsm_watchdog_nfs 44/4244/1
authorJackie Huang <jackie.huang@windriver.com>
Sat, 27 Jun 2020 02:30:29 +0000 (10:30 +0800)
committerJackie Huang <jackie.huang@windriver.com>
Sat, 27 Jun 2020 02:49:00 +0000 (10:49 +0800)
commit835d64bf2fab92d8504df06afcfa158ca2476192
tree5998077b5f4ed90b3c8f0e06b8b42bd829784b80
parentc8957ae60f5c3f14bc912701a71be97e29d3ea46
stx-ha: add missing dependency in Makefile for libsm_watchdog_nfs

Add missing dependency on libsm_common.so in Makefile for libsm_watchdog_nfs
to avoid race condition issue:

| ../../libexec/x86_64-poky-linux/gcc/x86_64-poky-linux/8.3.0/ld: cannot
|  find -lsm_common
| collect2: error: ld returned 1 exit status
| make: *** [libsm_watchdog_nfs.so.0] Error 1

Issue-ID: INF-175
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: I5b5d9ee477d592979452ff72ae77e45dc3dfaa83
meta-stx/recipes-core/stx-ha/files/0005-libsm_watchdog_nfs-add-missing-dependency-on-libsm_c.patch [new file with mode: 0644]
meta-stx/recipes-core/stx-ha/stx-ha.bb