From 4540a8a1b947156dbb5ce024c4d8fcf60b3aa8ba Mon Sep 17 00:00:00 2001 From: Markus Kauppila Date: Wed, 25 May 2011 09:45:03 -0700 Subject: [PATCH] Some fixes for Linux compatibility. --- test/test-automation/runner.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/test-automation/runner.c b/test/test-automation/runner.c index c435404e0..0f747bd20 100644 --- a/test/test-automation/runner.c +++ b/test/test-automation/runner.c @@ -36,7 +36,12 @@ int main(int argc, char *argv[]) { const Uint32 startTicks = SDL_GetTicks(); +#if defined(linux) || defined( __linux) + char *libName = "tests/libtest.so"; +#else char *libName = "tests/libtest.0.dylib"; +#endif + void *library = SDL_LoadObject(libName); if(library == NULL) { printf("Loading %s failed\n", libName);