]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
add versioned dll names for a bunch of things
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 19 Aug 2010 15:47:13 +0000 (15:47 +0000)
committerRudolf Polzer <divVerent@alientrap.org>
Fri, 20 Aug 2010 12:07:21 +0000 (14:07 +0200)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10405 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=217d41fc47bbf046bc5338f1a8e497592a0cc3f1

cap_ogg.c
ft2.c
image_png.c
snd_ogg.c

index 424eac411774344d2f27fbd731c10c8783aa6dd4..b3c29023c70053dec2d479d6894529a39d465abe 100644 (file)
--- a/cap_ogg.c
+++ b/cap_ogg.c
@@ -522,6 +522,7 @@ qboolean SCR_CaptureVideo_Ogg_OpenLibrary(void)
        const char* dllnames_og [] =
        {
 #if defined(WIN32)
+               "libogg-0.dll",
                "libogg.dll",
                "ogg.dll",
 #elif defined(MACOSX)
@@ -535,6 +536,7 @@ qboolean SCR_CaptureVideo_Ogg_OpenLibrary(void)
        const char* dllnames_vo [] =
        {
 #if defined(WIN32)
+               "libvorbis-0.dll",
                "libvorbis.dll",
                "vorbis.dll",
 #elif defined(MACOSX)
@@ -548,6 +550,7 @@ qboolean SCR_CaptureVideo_Ogg_OpenLibrary(void)
        const char* dllnames_ve [] =
        {
 #if defined(WIN32)
+               "libvorbisenc-2.dll",
                "libvorbisenc.dll",
                "vorbisenc.dll",
 #elif defined(MACOSX)
@@ -561,6 +564,7 @@ qboolean SCR_CaptureVideo_Ogg_OpenLibrary(void)
        const char* dllnames_th [] =
        {
 #if defined(WIN32)
+               "libtheora-0.dll",
                "libtheora.dll",
                "theora.dll",
 #elif defined(MACOSX)
diff --git a/ft2.c b/ft2.c
index a2a976435bef9c3ca45067cbdd3bc6ae6c4984b5..1079b5db52eba3d981dc5a3408fcc51e9e7badbc 100644 (file)
--- a/ft2.c
+++ b/ft2.c
@@ -186,8 +186,8 @@ qboolean Font_OpenLibrary (void)
        const char* dllnames [] =
        {
 #if defined(WIN32)
-               "freetype6.dll",
                "libfreetype-6.dll",
+               "freetype6.dll",
 #elif defined(MACOSX)
                "libfreetype.6.dylib",
                "libfreetype.dylib",
index 0b9543e8742890d76955e5cf814f9e24d0f35e12..0d58d4a36f33e95e4b64163c08dd4aef42d3c972 100644 (file)
@@ -126,6 +126,7 @@ qboolean PNG_OpenLibrary (void)
        const char* dllnames [] =
        {
 #if WIN32
+               "libpng14-14.dll",
                "libpng14.dll",
                "libpng12.dll",
 #elif defined(MACOSX)
index c3143ac9ba6bf381ff7d77cca0c03aaca73c8f17..66ad014dc82106947a18bf1599a4e01b745daf74 100644 (file)
--- a/snd_ogg.c
+++ b/snd_ogg.c
@@ -274,6 +274,7 @@ qboolean OGG_OpenLibrary (void)
        const char* dllnames_vo [] =
        {
 #if defined(WIN32)
+               "libvorbis-0.dll",
                "libvorbis.dll",
                "vorbis.dll",
 #elif defined(MACOSX)
@@ -287,6 +288,7 @@ qboolean OGG_OpenLibrary (void)
        const char* dllnames_vf [] =
        {
 #if defined(WIN32)
+               "libvorbisfile-3.dll",
                "libvorbisfile.dll",
                "vorbisfile.dll",
 #elif defined(MACOSX)