Skip to content

Commit c7fc1a2

Browse files
committed
Try to fix Windows
1 parent 263d418 commit c7fc1a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/staticdata.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2473,7 +2473,7 @@ JL_DLLEXPORT jl_value_t *jl_restore_system_image_data(const char *buf, size_t le
24732473

24742474
JL_DLLEXPORT jl_value_t *jl_restore_package_image_from_file(const char *fname)
24752475
{
2476-
void *pkgimg_handle = dlopen(fname, RTLD_LAZY);
2476+
void *pkgimg_handle = dlopen(fname, JL_RTLD_LAZY);
24772477
if (!pkgimg_handle)
24782478
jl_errorf("Error opening package file %s: %s\n", fname, dlerror());
24792479
const char *pkgimg_data;

0 commit comments

Comments
 (0)