getdnsapi / getdns

A modern asynchronous DNS API https://getdnsapi.net/
Other
468 stars 126 forks source link

Fix exporting symbols for extension libraries #489

Closed fcelda closed 4 years ago

fcelda commented 4 years ago

The extension libraries didn't export any symbols due to incorrect version script provided at link time. This PR fixes it.

Before:

$ nm -D libgetdns_ex_uv.so | grep getdns_extension_set_libuv_loop

After:

$ nm -D libgetdns_ex_uv.so | grep getdns_extension_set_libuv_loop
00000000000011b0 T getdns_extension_set_libuv_loop