-
magnus.blaudd@oracle.com authored
- Turn off cmake's "transitive linking" for the share ndbclient library by using the LINK_INTERFACE_LIBARIES property. Previously anyone linking against shared ndbclient would also link against against the library which ndbclient was created from and thus resolve any unresolved depdendencies from those. That is no longer possible and causes a few link failures in our test* programs. - Add more references to ndbclient_exports.cpp to make more functions become exported from the shared ndbclient. - Note the number 37 passed to BitmaskImpl::setField, it has to be higher than 32 to avoid that BitmaskImpl::setFieldImpl() is optimized away in release compile. - Add more code to ndbclient_link_test.cpp to detect any missing symbols early.
magnus.blaudd@oracle.com authored- Turn off cmake's "transitive linking" for the share ndbclient library by using the LINK_INTERFACE_LIBARIES property. Previously anyone linking against shared ndbclient would also link against against the library which ndbclient was created from and thus resolve any unresolved depdendencies from those. That is no longer possible and causes a few link failures in our test* programs. - Add more references to ndbclient_exports.cpp to make more functions become exported from the shared ndbclient. - Note the number 37 passed to BitmaskImpl::setField, it has to be higher than 32 to avoid that BitmaskImpl::setFieldImpl() is optimized away in release compile. - Add more code to ndbclient_link_test.cpp to detect any missing symbols early.
Loading