aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Reimer2011-05-07 18:51:02 +0200
committerKlaus Reimer2011-05-08 17:39:26 +0200
commit77817a8be8881fee3d89c2e48a3fccbc0df81baf (patch)
treefaca5faa8b8dfb497f81a67f10da71b0d4e575cf
parentc7b481802535744aeeffd973afadb5d492057518 (diff)
downloadscummvm-rg350-77817a8be8881fee3d89c2e48a3fccbc0df81baf.tar.gz
scummvm-rg350-77817a8be8881fee3d89c2e48a3fccbc0df81baf.tar.bz2
scummvm-rg350-77817a8be8881fee3d89c2e48a3fccbc0df81baf.zip
WEBOS: Moved webos plugin build configuration into its own block so it can be configured separately from the generic linux configuration.
-rwxr-xr-xconfigure20
1 files changed, 19 insertions, 1 deletions
diff --git a/configure b/configure
index 62c8a112e3..573dd6bc33 100755
--- a/configure
+++ b/configure
@@ -2286,7 +2286,7 @@ POST_OBJS_FLAGS := -Wl,-no-whole-archive
LIBS += -ldl
'
;;
- linux* | webos)
+ linux*)
_def_plugin='
#define PLUGIN_PREFIX "lib"
#define PLUGIN_SUFFIX ".so"
@@ -2336,6 +2336,24 @@ LDFLAGS += -Wl,-T$(srcdir)/backends/plugins/psp/main_prog.ld
PLUGIN_LDFLAGS += -Wl,-T$(srcdir)/backends/plugins/psp/plugin.ld -lstdc++ -lc
'
;;
+ webos)
+_def_plugin='
+#define PLUGIN_PREFIX "lib"
+#define PLUGIN_SUFFIX ".so"
+'
+_mak_plugins='
+DYNAMIC_MODULES := 1
+PLUGIN_PREFIX := lib
+PLUGIN_SUFFIX := .so
+PLUGIN_EXTRA_DEPS =
+CXXFLAGS += -DDYNAMIC_MODULES
+CXXFLAGS += -fpic
+PLUGIN_LDFLAGS += -shared $(LDFLAGS)
+PRE_OBJS_FLAGS := -Wl,-export-dynamic -Wl,-whole-archive
+POST_OBJS_FLAGS := -Wl,-no-whole-archive
+LIBS += -ldl
+'
+ ;;
*)
_dynamic_modules=no
_mak_plugins=