diff options
author | Klaus Reimer | 2011-05-07 18:51:02 +0200 |
---|---|---|
committer | Klaus Reimer | 2011-05-08 17:37:31 +0200 |
commit | 73ee6ec702eed0742be525a5015fabd14c9f6bf0 (patch) | |
tree | d6398db77e3a6ddea1139e233044a290d18d9250 | |
parent | 869a6d42bdacff730d8d3aff0683a33b58dc5e1b (diff) | |
download | scummvm-rg350-73ee6ec702eed0742be525a5015fabd14c9f6bf0.tar.gz scummvm-rg350-73ee6ec702eed0742be525a5015fabd14c9f6bf0.tar.bz2 scummvm-rg350-73ee6ec702eed0742be525a5015fabd14c9f6bf0.zip |
WEBOS: Moved webos plugin build configuration into its own block so it can be configured separately from the generic linux configuration.
-rwxr-xr-x | configure | 20 |
1 files changed, 19 insertions, 1 deletions
@@ -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= |