openSUSE / hwinfo

Hardware information tool
GNU General Public License v2.0
259 stars 70 forks source link

avoid linking problems with libsamba (bsc#1212756) #132

Closed wfeldt closed 1 year ago

wfeldt commented 1 year ago

Problem

libsamba has also a load_module function. This runs into problems when linking both against libsamba and libhd.

Solution

load_module is an internal function and does not need to be exported. Hide load_module symbol.