stx-ha: add missing dependency in Makefile for libsm_watchdog_nfs 45/4245/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 13:02:56 +0000 (21:02 +0800)
commit5e0fe87d85c4cb20196ec940f14c7ff9fed1276f
tree0eb50e5f3790b04e6f2cd5628930c21161492013
parent3ee44909e15507d671f6a69bd57172278f4002a4
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