diff --git a/contrib/media/minimp3/compile kolibrios lib.bat b/contrib/media/minimp3/compile kolibrios lib.bat index 053f174e39..b04258d6f7 100644 --- a/contrib/media/minimp3/compile kolibrios lib.bat +++ b/contrib/media/minimp3/compile kolibrios lib.bat @@ -1,3 +1,3 @@ @echo off -gcc -c minimp3.c -o minimp3.obj -O2 -nostdlib +gcc -c minimp3.c -o minimp3.obj -O2 -nostdlib -fwhole-program pause \ No newline at end of file diff --git a/contrib/media/minimp3/minimp3.c b/contrib/media/minimp3/minimp3.c index 598d7183fa..cbe0c2b71b 100644 --- a/contrib/media/minimp3/minimp3.c +++ b/contrib/media/minimp3/minimp3.c @@ -62,7 +62,7 @@ char szVersionM[] ="version_min"; char szInit[] ="init"; char szDecode[] ="decode"; -export_t EXPORTS[] __asm__("EXPORTS") = +__attribute__((externally_visible)) export_t EXPORTS[] __asm__("EXPORTS") = { { szStart, start }, { szVersion, version_major },