aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorHubert Maier2019-09-22 17:37:22 +0200
committerEugene Sandulenko2019-09-22 21:35:35 +0200
commitc2f6eb6bc8217fe5ceecf2eb22a4b83e3845585a (patch)
tree8c45a2edf746ea1fe83dd8baef8622bde02687d9 /configure
parent9bffdfe9d592b6947b3a96a8ce2126fb2c23b0bb (diff)
downloadscummvm-rg350-c2f6eb6bc8217fe5ceecf2eb22a4b83e3845585a.tar.gz
scummvm-rg350-c2f6eb6bc8217fe5ceecf2eb22a4b83e3845585a.tar.bz2
scummvm-rg350-c2f6eb6bc8217fe5ceecf2eb22a4b83e3845585a.zip
CONFIGURE: Add amigaos to the plugins family
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure12
1 files changed, 12 insertions, 0 deletions
diff --git a/configure b/configure
index af7389df6c..0af7386a91 100755
--- a/configure
+++ b/configure
@@ -3928,6 +3928,18 @@ _mak_plugins=
if test "$_dynamic_modules" = yes ; then
echo_n "Checking whether building plugins is supported... "
case $_host_os in
+ amigaos)
+ _plugin_prefix="lib"
+ _plugin_suffix=".so"
+ append_var CXXFLAGS "-fPIC"
+ append_var LIBS "-use-dynld"
+_mak_plugins='
+PLUGIN_EXTRA_DEPS =
+PLUGIN_LDFLAGS += -shared
+PRE_OBJS_FLAGS := -Wl,-export-dynamic -Wl,-whole-archive
+POST_OBJS_FLAGS := -Wl,-no-whole-archive
+'
+ ;;
android)
_plugin_prefix="lib"
_plugin_suffix=".so"