aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorJoost Peters2011-09-12 14:49:12 +0200
committerJoost Peters2011-09-12 14:49:12 +0200
commitcd1a18dfcda75a0a2a8af01da73803e77d590996 (patch)
treeb89c0f68b5e10f942aa9ef3194d0f5a6862270d6 /configure
parent2eb624b22982018da97cbac4c8b0536f338146f8 (diff)
downloadscummvm-rg350-cd1a18dfcda75a0a2a8af01da73803e77d590996.tar.gz
scummvm-rg350-cd1a18dfcda75a0a2a8af01da73803e77d590996.tar.bz2
scummvm-rg350-cd1a18dfcda75a0a2a8af01da73803e77d590996.zip
IRIX: support plugin builds
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure13
1 files changed, 13 insertions, 0 deletions
diff --git a/configure b/configure
index 617a1209ee..1915713ec5 100755
--- a/configure
+++ b/configure
@@ -2713,6 +2713,19 @@ PRE_OBJS_FLAGS := -Wl,-export-dynamic -Wl,-whole-archive
POST_OBJS_FLAGS := -Wl,-no-whole-archive
'
;;
+ irix*)
+ _plugin_prefix="lib"
+ _plugin_suffix=".so"
+ CXXFLAGS="$CXXFLAGS -fpic"
+ LIBS="$LIBS -ldl"
+_mak_plugins='
+PLUGIN_EXTRA_DEPS =
+PLUGIN_LDFLAGS += -shared -static-libgcc
+PRE_OBJS_FLAGS := -Wl,-export-dynamic -Wl,-whole-archive
+POST_OBJS_FLAGS := -Wl,-no-whole-archive
+'
+ ;;
+
linux*)
_plugin_prefix="lib"
_plugin_suffix=".so"