open-hpi / openhpi

Other
7 stars 10 forks source link

testcases which use saHpiSessionOpen will fail with the error: undefined symbol: saHpiSessionOpen #2742

Closed ngothan closed 5 years ago

ngothan commented 5 years ago

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.