jiridanek commented on a change in pull request #1267:
URL: https://github.com/apache/qpid-dispatch/pull/1267#discussion_r659838422
##########
File path: src/dispatch.c
##########
@@ -122,9 +122,9 @@ STATIC_ASSERT(sizeof(long) >= sizeof(void*),
pointer_is_bigger_than_long);
qd_error_t qd_dispatch_load_config(qd_dispatch_t *qd, const char *config_path)
{
- qd->dl_handle = dlopen(QPID_DISPATCH_LIB, RTLD_LAZY | RTLD_NOLOAD);
+ qd->dl_handle = dlopen(NULL, RTLD_LAZY | RTLD_NOLOAD);
Review comment:
I was thinking whether I could move the `dlopen` to the python side, in
`configure_dispatch`, but I was not exactly sure I can make the things work
exactly the way they are now.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]