summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a1561c0)
raw | patch | inline | side by side (parent: a1561c0)
author | DeaDDooMER <deaddoomer@deadsoftware.ru> | |
Mon, 7 Oct 2019 19:07:11 +0000 (22:07 +0300) | ||
committer | DeaDDooMER <deaddoomer@deadsoftware.ru> | |
Sun, 13 Oct 2019 14:19:20 +0000 (17:19 +0300) |
index 3a6f0834d64e7790cc3b691e28ace14081e0797a..c8ad676fcd912155a3f3e5f594e7ea32059bd08a 100644 (file)
{$DEFINE MINIUPNPC_IMPL := cdecl; external 'miniupnpc.dll'}
{$ENDIF}
{$ELSE}
- {$DEFINE MINIUPNPC_IMPL := cdecl; external 'miniupnpc'}
+ {$LINKLIB libminiupnpc}
+ {$DEFINE MINIUPNPC_IMPL := cdecl; external 'libminiupnpc'}
{$ENDIF}
const MINIUPNPC_URL_MAXSIZE=128;
index 3c56ea1364d502601566661a389e72112845a69e..cc6e9143ed82afbf7994d117f08322f8e9ef6aa8 100644 (file)
{$ENDIF}
{$ELSEIF DEFINED(UNIX)}
{$DEFINE MP_DYNAMIC}
- const modpluglib = 'libmodplug.so';
+ {$LINKLIB libmodplug}
+ const modpluglib = 'libmodplug';
{$ELSE}
- {$ERROR libmpg123 not supported on this platform. Fix it!}
+ {$ERROR libmodplug not supported on this platform. Fix it!}
{$ENDIF}
type
index 67cab975d9925af3ad2820cdd0b6b3a0521df3aa..9ba1f6b00d5e1895644717e99b218cf4aa51e956 100644 (file)
{$ENDIF}
{$ELSEIF DEFINED(UNIX)}
{$DEFINE MPG123_DYNAMIC}
- const LIB_MPG123 = 'libmpg123.so';
+ {$LINKLIB libmpg123}
+ const LIB_MPG123 = 'libmpg123';
{$ELSE}
{$ERROR libmpg123 not supported on this platform. Fix it!}
{$ENDIF}
diff --git a/src/lib/openal/al.pas b/src/lib/openal/al.pas
index ee62cd11864792e5f98b5c43aae6e2788203b07b..d762800f13e52274c37ceb9953be4395660d6611 100644 (file)
--- a/src/lib/openal/al.pas
+++ b/src/lib/openal/al.pas
const openallib = 'openal32.dll';
{$DEFINE AL_DYNAMIC}
{$ENDIF}
+{$ELSEIF DEFINED(DARWIN)}
+ {$LINKFRAMEWORK OpenAL}
{$ELSEIF DEFINED(UNIX)}
const openallib = 'libopenal.so';
{$DEFINE AL_DYNAMIC}
diff --git a/src/lib/vorbis/ogg.pas b/src/lib/vorbis/ogg.pas
index 9ce03af74e391c9d2a541eefac63153d458a5ef4..4559d35bf7e750ec641d8351110537208265f9c2 100644 (file)
--- a/src/lib/vorbis/ogg.pas
+++ b/src/lib/vorbis/ogg.pas
{$ENDIF}
{$ELSEIF DEFINED(UNIX)}
{$DEFINE OGG_DYNAMIC}
- const ogglib = 'libogg.so';
+ {$LINKLIB libogg}
+ const ogglib = 'libogg';
{$ELSE}
{$ERROR libogg not supported on this platform. Fix it!}
{$ENDIF}
index a2787be1a540abd3a6e8a02df71ff481d00af781..87833bd69edbc81911bd7d4dbae16ca81022252e 100644 (file)
{$ENDIF}
{$ELSEIF DEFINED(UNIX)}
{$DEFINE OGG_DYNAMIC}
- const vorbislib = 'libvorbis.so';
- const vorbisfilelib = 'libvorbisfile.so';
+ {$LINKLIB libvorbis}
+ {$LINKLIB libvorbisfile}
+ const vorbislib = 'libvorbis';
+ const vorbisfilelib = 'libvorbisfile';
{$ELSE}
{$ERROR libvorbis not supported on this platform. Fix it!}
{$ENDIF}