The Flag --as-needed is passed to the linker as default system-wide LDFLAGS in Fedora 30.
With this change some testcases which use saHpiSessionOpen will fail with the error:
"missing Can not open libsnmp_bc plugin: libsnmp_bc.so.3: undefined symbol: saHpiSessionOpen"
The Flag --as-needed is passed to the linker as default system-wide LDFLAGS in Fedora 30. With this change some testcases which use saHpiSessionOpen will fail with the error: "missing Can not open libsnmp_bc plugin: libsnmp_bc.so.3: undefined symbol: saHpiSessionOpen"
This patch resolves the above issue.