From c5c615e8b52e9a8343f17dece62b6f033c2303e3 Mon Sep 17 00:00:00 2001 From: hidnplayr Date: Tue, 9 Jun 2020 19:42:05 +0000 Subject: [PATCH] Try to build minimp3.obj #4 git-svn-id: svn://kolibrios.org@8032 a494cfbc-eb01-0410-851d-a64ba20cac60 --- contrib/media/minimp3/compile kolibrios lib.bat | 2 +- contrib/media/minimp3/minimp3.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 },