merge from libretro fork
[pcsx_rearmed.git] / plugins / cdrcimg / cdrcimg.c
index 2254516..b3bee27 100644 (file)
@@ -284,7 +284,7 @@ static long CDRinit(void)
                        return -1;
                }
        }
-#ifndef _WIN32
+#if !defined(_WIN32) && !defined(NO_DYLIB)
        if (pBZ2_bzBuffToBuffDecompress == NULL) {
                void *h = dlopen("/usr/lib/libbz2.so.1", RTLD_LAZY);
                if (h == NULL)