From 44e2256e731c5bbadb9ac23736e340aac1ccba6c Mon Sep 17 00:00:00 2001 From: Hubert Maier Date: Sun, 3 Jan 2016 13:44:24 +0200 Subject: AMIGAOS: Static builds preferred Reasons: - Shared objects aren't really shared on AmigaOS (Once two programs load the same .so, it will be loaded twice into memory instead of sharing the already available one) - To make the program run for everyone i need to provide a subdir (SObjs/) which holds all the .so's used while compiling, otherwise some people have to go hunting for the correct .so's online. (That completely defies the use of "shared objects") Even worse is the fact that, if users have older .so's installed, they might experience crashes. - There is no benefit in building ScummVM with shared objects, because even *if* a new lib version is available as an .so it won't be mandatory to immediately switch to it, because the code probably won't take advantage of it as fast. In short: Switchting to static builds to reduce user grief, crash reports and as a bonus have ScummVM start a little faster.--- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configure') diff --git a/configure b/configure index abc38fe4e3..eb410189d2 100755 --- a/configure +++ b/configure @@ -2107,7 +2107,7 @@ echo_n "Checking hosttype... " echo $_host_os case $_host_os in amigaos*) - append_var LDFLAGS "-use-dynld -Wl,--export-dynamic" + append_var LDFLAGS "-Wl,--export-dynamic" append_var LDFLAGS "-L/sdk/local/newlib/lib" # We have to use 'long' for our 4 byte typedef because AmigaOS already typedefs (u)int32 # as (unsigned) long, and consequently we'd get a compiler error otherwise. -- cgit v1.2.3