We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8522727 commit 7c9cb68Copy full SHA for 7c9cb68
test/trimming/init.c
@@ -1,9 +1,11 @@
1
+#define _GNU_SOURCE
2
+#include <dlfcn.h>
3
#include <julia.h>
4
5
__attribute__((constructor)) void static_init(void)
6
{
7
if (jl_is_initialized())
8
return;
- julia_init(JL_IMAGE_IN_MEMORY);
9
+ jl_init_with_image_handle((void *)RTLD_DEFAULT);
10
jl_exception_clear();
11
}
0 commit comments